summaryrefslogtreecommitdiff
path: root/logging.c
diff options
context:
space:
mode:
Diffstat (limited to 'logging.c')
-rw-r--r--logging.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/logging.c b/logging.c
index 4f383c1..782d91c 100644
--- a/logging.c
+++ b/logging.c
@@ -12,17 +12,17 @@
static LogLevel max_level = LOG_INFO;
static const char* level_strings[] = {
+ "ERROR",
+ "WARN",
"INFO",
"DEBUG",
- "WARN",
- "ERROR",
};
static const char* level_colors[] = {
+ COLOR_ERROR,
+ COLOR_WARNING,
COLOR_INFO,
COLOR_DEBUG,
- COLOR_WARNING,
- COLOR_ERROR,
};
void set_log_level(LogLevel level) {