Update Logger.cpp

updated comment for clarity
This commit is contained in:
Travis Hunter 2023-03-24 16:24:31 -06:00
parent 80b7a0109c
commit 29a9c7fb68

View File

@ -59,6 +59,8 @@ void Logger::log(std::string_view msg, const LogLevel& lvl)
std::cout << "[WARN] " << msg << std::endl;
}
[[fallthrough]];
// Regardless of what level is set, ERROR is always logged, so
// rather than explicitly check for the ERROR case, we just use default case
default:
if(lvl == ERROR)
{