feature (kernel): added log level 'None'

This commit is contained in:
antifallobst 2023-02-12 09:41:44 +01:00
parent b80514d80e
commit f4566e782b
2 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@
#define LOG_PORT 0x3F8 #define LOG_PORT 0x3F8
typedef enum { typedef enum {
LOG_NONE,
LOG_INFO, LOG_INFO,
LOG_DEBUG, LOG_DEBUG,
LOG_WARNING, LOG_WARNING,

View File

@ -17,6 +17,7 @@
#include "utils/io.h" #include "utils/io.h"
string_t log_prefixes[LOG_ENUM_END] = { string_t log_prefixes[LOG_ENUM_END] = {
"", // LOG_NONE
"[ Info ] ", "[ Info ] ",
"[ Debug ] ", "[ Debug ] ",
"[ Warning ] ", "[ Warning ] ",