Switchboard Extension SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
LogLevel.hpp
1
//
2
// LogLevel.hpp
3
// SwitchboardSDK
4
//
5
// Created by Pesti József on 2022. 12. 19..
6
//
7
8
#pragma once
9
10
#include <string>
11
12
namespace
switchboard {
13
14
const
std::string LOG_LEVEL_NONE =
"none"
;
15
const
std::string LOG_LEVEL_ERROR =
"error"
;
16
const
std::string LOG_LEVEL_WARNING =
"warning"
;
17
const
std::string LOG_LEVEL_INFO =
"info"
;
18
const
std::string LOG_LEVEL_DEBUG =
"debug"
;
19
const
std::string LOG_LEVEL_TRACE =
"trace"
;
20
21
enum class
LogLevel :
int
{ None = 0, Error = 1, Warning = 2, Info = 3, Debug = 4, Trace = 5 };
22
30
LogLevel logLevelFromString(
const
std::string& stringValue);
31
39
std::string logLevelToString(LogLevel logLevel);
40
41
}
SwitchboardSDK
include
switchboard_core
LogLevel.hpp
Generated by
1.17.0