mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-09 12:31:06 -04:00
New logging level
This commit is contained in:
parent
5b34236160
commit
12d02aa47f
@ -18,7 +18,8 @@ enum class log_level : char {
|
||||
TRACE,
|
||||
DEBUG,
|
||||
WARNING,
|
||||
ERROR
|
||||
ERROR,
|
||||
USER
|
||||
};
|
||||
|
||||
bool is_early();
|
||||
|
@ -33,6 +33,8 @@ inline const char* level_to_string(logging::log_level level){
|
||||
return "WARNING";
|
||||
case logging::log_level::ERROR:
|
||||
return "ERROR";
|
||||
case logging::log_level::USER:
|
||||
return "USER";
|
||||
}
|
||||
|
||||
return "UNKNOWN";
|
||||
|
Loading…
x
Reference in New Issue
Block a user