diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/log.c | 1 | ||||
-rw-r--r-- | src/common/log.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/common/log.c b/src/common/log.c index 293c82781..681e08f12 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -21,6 +21,7 @@ static INLINE const char *sev_to_string(int severity) { switch(severity) { case LOG_DEBUG: return "debug"; case LOG_INFO: return "info"; + case LOG_NOTICE: return "notice"; case LOG_WARN: return "warn"; case LOG_ERR: return "err"; default: assert(0); return "UNKNOWN"; diff --git a/src/common/log.h b/src/common/log.h index 87a74bafe..4656a2196 100644 --- a/src/common/log.h +++ b/src/common/log.h @@ -10,6 +10,7 @@ #else #define LOG_DEBUG 0 #define LOG_INFO 1 +#define LOG_NOTICE 2 #define LOG_WARN 3 #define LOG_ERR 4 #endif |