12namespace switchboard {
14const std::string LOG_LEVEL_NONE =
"none";
15const std::string LOG_LEVEL_ERROR =
"error";
16const std::string LOG_LEVEL_WARNING =
"warning";
17const std::string LOG_LEVEL_INFO =
"info";
18const std::string LOG_LEVEL_DEBUG =
"debug";
19const std::string LOG_LEVEL_TRACE =
"trace";
21enum class LogLevel :
int { None = 0, Error = 1, Warning = 2, Info = 3, Debug = 4, Trace = 5 };
30LogLevel logLevelFromString(
const std::string& stringValue);
39std::string logLevelToString(LogLevel logLevel);