Use Dynamic last Log Type

This commit is contained in:
Josh
2022-07-26 16:29:51 -05:00
committed by Admiral H. Curtiss
parent 97100290ee
commit 7e75bcd36f
2 changed files with 4 additions and 1 deletions

View File

@ -68,6 +68,9 @@ enum class LogType : int
NUMBER_OF_LOGS // Must be last
};
constexpr LogType LAST_LOG_TYPE =
static_cast<LogType>(static_cast<int>(LogType::NUMBER_OF_LOGS) - 1);
enum class LogLevel : int
{
LNOTICE = 1, // VERY important information that is NOT errors. Like startup and OSReports.