New logging level

This commit is contained in:
Baptiste Wicht 2016-08-18 21:11:21 +02:00
parent 5b34236160
commit 12d02aa47f
2 changed files with 4 additions and 1 deletions

View File

@ -18,7 +18,8 @@ enum class log_level : char {
TRACE,
DEBUG,
WARNING,
ERROR
ERROR,
USER
};
bool is_early();

View File

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