mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	logger: improve formatting
Make enough room for the timestamp to include the last ] Add a space before the actual log line.
This commit is contained in:
		
							parent
							
								
									83f8a2896f
								
							
						
					
					
						commit
						16674a07a5
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -78,7 +78,7 @@ impl_log_logv(void *object,
 | 
			
		|||
#define RESERVED_LENGTH 24
 | 
			
		||||
 | 
			
		||||
	struct impl *impl = object;
 | 
			
		||||
	char timestamp[14] = {0};
 | 
			
		||||
	char timestamp[15] = {0};
 | 
			
		||||
	char filename[64] = {0};
 | 
			
		||||
	char location[1000 + RESERVED_LENGTH], *p, *s;
 | 
			
		||||
	static const char *levels[] = { "-", "E", "W", "I", "D", "T", "*T*" };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue