fixed logging pattern

This commit is contained in:
Chris Punches
2025-03-07 23:53:31 -05:00
parent ee1df1fb0c
commit 34bab86b69
6 changed files with 138 additions and 122 deletions

View File

@@ -1,4 +1,3 @@
// Logger.hpp
#pragma once
#include <fstream>
@@ -31,6 +30,9 @@ public:
// String to LoggingLevels conversion
static LoggingLevels stringToLogLevel(const std::string& level_str, LoggingLevels default_level = LoggingLevels::INFO);
// Convert LoggingLevels enum to string
static std::string LogLevelToString(LoggingLevels level);
private:
// the logging level to stay initialized to
LoggingLevels log_level;