mirror of
https://github.com/NixOS/nix.git
synced 2025-11-12 13:36:02 +01:00
Add lvlNotice log level
This is like syslog's LOG_NOTICE: "normal, but significant, condition".
This commit is contained in:
parent
29fbc3cf31
commit
a8f533b664
3 changed files with 3 additions and 1 deletions
|
|
@ -45,6 +45,7 @@ namespace nix {
|
|||
typedef enum {
|
||||
lvlError = 0,
|
||||
lvlWarn,
|
||||
lvlNotice,
|
||||
lvlInfo,
|
||||
lvlTalkative,
|
||||
lvlChatty,
|
||||
|
|
|
|||
|
|
@ -198,6 +198,7 @@ extern Verbosity verbosity; /* suppress msgs > this */
|
|||
} while (0)
|
||||
|
||||
#define printError(args...) printMsg(lvlError, args)
|
||||
#define notice(args...) printMsg(lvlNotice, args)
|
||||
#define printInfo(args...) printMsg(lvlInfo, args)
|
||||
#define printTalkative(args...) printMsg(lvlTalkative, args)
|
||||
#define debug(args...) printMsg(lvlDebug, args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue