aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/logging.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-11-27 11:19:36 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-12-10 16:41:24 +0100
commita8f533b66417a1025a468cae3068bd2f5c06e811 (patch)
treeb37fc184dc14fe435ee1e467ac8df586e99b5e81 /src/libutil/logging.hh
parent29fbc3cf31cb318931893b2113b6e394137ec153 (diff)
Add lvlNotice log level
This is like syslog's LOG_NOTICE: "normal, but significant, condition".
Diffstat (limited to 'src/libutil/logging.hh')
-rw-r--r--src/libutil/logging.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/logging.hh b/src/libutil/logging.hh
index 82ba54051..96ad69790 100644
--- a/src/libutil/logging.hh
+++ b/src/libutil/logging.hh
@@ -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)