From 316b49eee27c507a306e7bc60591f1cf430091cb Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 25 Jun 2022 20:50:29 +0200 Subject: added log level info --- src/debug/Log.cpp | 3 +++ src/debug/Log.hpp | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/debug/Log.cpp b/src/debug/Log.cpp index 559e7b79..a864f0d2 100644 --- a/src/debug/Log.cpp +++ b/src/debug/Log.cpp @@ -31,6 +31,9 @@ void Debug::log(LogLevel level, const char* fmt, ...) { case CRIT: ofs << "[CRITICAL] "; break; + case INFO: + ofs << "[INFO] "; + break; default: break; } diff --git a/src/debug/Log.hpp b/src/debug/Log.hpp index 2a7ab425..814da421 100644 --- a/src/debug/Log.hpp +++ b/src/debug/Log.hpp @@ -8,7 +8,8 @@ enum LogLevel { LOG = 0, WARN, ERR, - CRIT + CRIT, + INFO }; namespace Debug { -- cgit v1.2.3