Support systemd log severity prefixes
This is mostly useful for hydra-queue-runner.
This commit is contained in:
		
							parent
							
								
									b3491c781c
								
							
						
					
					
						commit
						db55940d9e
					
				
					 3 changed files with 18 additions and 1 deletions
				
			
		|  | @ -122,7 +122,8 @@ T singleton(const A & a) | |||
| typedef enum { | ||||
|     ltPretty,   /* nice, nested output */ | ||||
|     ltEscapes,  /* nesting indicated using escape codes (for log2xml) */ | ||||
|     ltFlat      /* no nesting */ | ||||
|     ltFlat,     /* no nesting */ | ||||
|     ltSystemd,  /* use systemd severity prefixes */ | ||||
| } LogType; | ||||
| 
 | ||||
| extern LogType logType; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue