Loading src/common/log.c +1 −0 Original line number Diff line number Diff line Loading @@ -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"; Loading src/common/log.h +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
src/common/log.c +1 −0 Original line number Diff line number Diff line Loading @@ -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"; Loading
src/common/log.h +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading