Changed the log prefixes

This commit is contained in:
Eric-Paul I 2023-03-09 03:30:16 +01:00
parent e38b37404d
commit e1978a052d
1 changed files with 6 additions and 5 deletions

View File

@ -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;
}
}