aboutsummaryrefslogtreecommitdiff
path: root/src/common/Logging/LogCommon.h
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2020-08-28 00:11:16 +0200
committerGitHub <noreply@github.com>2020-08-28 00:11:16 +0200
commit534a2388b7c662c8796aabb1ec8cb424879799b6 (patch)
treedf01a59b06bbb376dfeb95f2d538ab43b082e20d /src/common/Logging/LogCommon.h
parent7478c2c65aea853a2086c9c7ecc56c14ad6ee338 (diff)
Core/Common: Tokenizer -> Trinity::Tokenize (PR: #25327)
Diffstat (limited to 'src/common/Logging/LogCommon.h')
-rw-r--r--src/common/Logging/LogCommon.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/common/Logging/LogCommon.h b/src/common/Logging/LogCommon.h
index 17ade3e7e8f..67fd9913ceb 100644
--- a/src/common/Logging/LogCommon.h
+++ b/src/common/Logging/LogCommon.h
@@ -18,7 +18,10 @@
#ifndef LogCommon_h__
#define LogCommon_h__
-enum LogLevel
+#include "Define.h"
+
+// EnumUtils: DESCRIBE THIS
+enum LogLevel : uint8
{
LOG_LEVEL_DISABLED = 0,
LOG_LEVEL_TRACE = 1,
@@ -28,18 +31,22 @@ enum LogLevel
LOG_LEVEL_ERROR = 5,
LOG_LEVEL_FATAL = 6,
- NUM_ENABLED_LOG_LEVELS = 6
+ NUM_ENABLED_LOG_LEVELS = LOG_LEVEL_FATAL, // SKIP
+ LOG_LEVEL_INVALID = 0xFF // SKIP
};
+// EnumUtils: DESCRIBE THIS
enum AppenderType : uint8
{
APPENDER_NONE,
APPENDER_CONSOLE,
APPENDER_FILE,
- APPENDER_DB
+ APPENDER_DB,
+
+ APPENDER_INVALID = 0xFF // SKIP
};
-enum AppenderFlags
+enum AppenderFlags : uint8
{
APPENDER_FLAGS_NONE = 0x00,
APPENDER_FLAGS_PREFIX_TIMESTAMP = 0x01,