From e1978a052d3aa758087ee16c2f72aaa5a9757974 Mon Sep 17 00:00:00 2001 From: Eric-Paul I Date: Thu, 9 Mar 2023 03:30:16 +0100 Subject: [PATCH] Changed the log prefixes --- kernel/src/utils/logger.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/kernel/src/utils/logger.c b/kernel/src/utils/logger.c index b548c50..a5183cf 100644 --- a/kernel/src/utils/logger.c +++ b/kernel/src/utils/logger.c @@ -26,12 +26,13 @@ #include "utils/core.h" #include "drivers/graphics/renderer.h" +// TODO: Range-check the usage of this, otherwise could crash. string_t g_log_prefixes[LOG_ENUM_END] = { "", // LOG_NONE - "[ Info ] ", - "[ Debug ] ", - "[ Warning ] ", - "[ Error ] ", + "# ", + "? ", + "! ", + "!!! ", }; color_palette_E g_log_colors[LOG_ENUM_END] = { @@ -89,4 +90,4 @@ void log(log_level_E log_level, string_t str, ...) { } g_logger_blocked = false; -} \ No newline at end of file +}