From 29a9c7fb6846189d273af6c5a1f6d589e07bf1c6 Mon Sep 17 00:00:00 2001 From: Travis Hunter Date: Fri, 24 Mar 2023 16:24:31 -0600 Subject: [PATCH] Update Logger.cpp updated comment for clarity --- utils/Logger.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/Logger.cpp b/utils/Logger.cpp index 4d8ddff..da226e9 100644 --- a/utils/Logger.cpp +++ b/utils/Logger.cpp @@ -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) {