added log level info

This commit is contained in:
vaxerski 2022-06-25 20:50:29 +02:00
parent 8de8f6667e
commit 316b49eee2
2 changed files with 5 additions and 1 deletions

View File

@ -31,6 +31,9 @@ void Debug::log(LogLevel level, const char* fmt, ...) {
case CRIT:
ofs << "[CRITICAL] ";
break;
case INFO:
ofs << "[INFO] ";
break;
default:
break;
}

View File

@ -8,7 +8,8 @@ enum LogLevel {
LOG = 0,
WARN,
ERR,
CRIT
CRIT,
INFO
};
namespace Debug {