Skip to content
This repository was archived by the owner on Apr 13, 2021. It is now read-only.

Commit 599cd54

Browse files
committed
Add more string levels.
1 parent c7c7862 commit 599cd54

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/logging.c

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,16 @@
1818
* Logging functions.
1919
* \{ */
2020

21-
const char *level_string[] = {"DEBUG", "INFO", "WARNING", "ERROR"};
21+
const char *level_string[] = {
22+
"EMERGENCY",
23+
"ALERT",
24+
"CRITICAL",
25+
"ERROR",
26+
"WARNING",
27+
"NOTICE",
28+
"INFO",
29+
"DEBUG",
30+
};
2231

2332
/** Log message by level.
2433
*

0 commit comments

Comments
 (0)