mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	logger: make info lines green
This commit is contained in:
		
							parent
							
								
									6d79ce2589
								
							
						
					
					
						commit
						22b8a6f01a
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -85,6 +85,8 @@ impl_log_logv(struct spa_log *log,
 | 
			
		|||
			prefix = "\x1B[1;31m";
 | 
			
		||||
		else if (level <= SPA_LOG_LEVEL_WARN)
 | 
			
		||||
			prefix = "\x1B[1;33m";
 | 
			
		||||
		else if (level <= SPA_LOG_LEVEL_INFO)
 | 
			
		||||
			prefix = "\x1B[1;32m";
 | 
			
		||||
		if (prefix[0])
 | 
			
		||||
			suffix = "\x1B[0m";
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue