1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 06:21:14 +02:00

Support systemd log severity prefixes

This is mostly useful for hydra-queue-runner.
This commit is contained in:
Eelco Dolstra 2015-07-20 01:39:48 +02:00
parent b3491c781c
commit db55940d9e
3 changed files with 18 additions and 1 deletions

View file

@ -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;