From f4566e782b253e2764d57d039b05579bd7e84d99 Mon Sep 17 00:00:00 2001 From: antifallobst Date: Sun, 12 Feb 2023 09:41:44 +0100 Subject: [PATCH] feature (kernel): added log level 'None' --- kernel/inc/utils/logger.h | 1 + kernel/src/utils/logger.c | 1 + 2 files changed, 2 insertions(+) diff --git a/kernel/inc/utils/logger.h b/kernel/inc/utils/logger.h index f780485..14725a4 100644 --- a/kernel/inc/utils/logger.h +++ b/kernel/inc/utils/logger.h @@ -21,6 +21,7 @@ #define LOG_PORT 0x3F8 typedef enum { + LOG_NONE, LOG_INFO, LOG_DEBUG, LOG_WARNING, diff --git a/kernel/src/utils/logger.c b/kernel/src/utils/logger.c index dc30f29..d391b89 100644 --- a/kernel/src/utils/logger.c +++ b/kernel/src/utils/logger.c @@ -17,6 +17,7 @@ #include "utils/io.h" string_t log_prefixes[LOG_ENUM_END] = { + "", // LOG_NONE "[ Info ] ", "[ Debug ] ", "[ Warning ] ",