#include <unordered_map>
#include <stdexcept>
#include <string>
#include <time.h>
#include <type_traits>
#include <vector>
#include <utility>
#include "Define.h"
Go to the source code of this file.
|
enum | LogLevel {
LOG_LEVEL_DISABLED = 0,
LOG_LEVEL_TRACE = 1,
LOG_LEVEL_DEBUG = 2,
LOG_LEVEL_INFO = 3,
LOG_LEVEL_WARN = 4,
LOG_LEVEL_ERROR = 5,
LOG_LEVEL_FATAL = 6
} |
|
enum | AppenderType : uint8 { APPENDER_NONE,
APPENDER_CONSOLE,
APPENDER_FILE,
APPENDER_DB
} |
|
enum | AppenderFlags {
APPENDER_FLAGS_NONE = 0x00,
APPENDER_FLAGS_PREFIX_TIMESTAMP = 0x01,
APPENDER_FLAGS_PREFIX_LOGLEVEL = 0x02,
APPENDER_FLAGS_PREFIX_LOGFILTERTYPE = 0x04,
APPENDER_FLAGS_USE_TIMESTAMP = 0x08,
APPENDER_FLAGS_MAKE_FILE_BACKUP = 0x10
} |
|
Enumerator |
---|
APPENDER_FLAGS_NONE |
|
APPENDER_FLAGS_PREFIX_TIMESTAMP |
|
APPENDER_FLAGS_PREFIX_LOGLEVEL |
|
APPENDER_FLAGS_PREFIX_LOGFILTERTYPE |
|
APPENDER_FLAGS_USE_TIMESTAMP |
|
APPENDER_FLAGS_MAKE_FILE_BACKUP |
|
Definition: Appender.h:55
Definition: Appender.h:57
Definition: Appender.h:56
Definition: Appender.h:58
Definition: Appender.h:54
Definition: Appender.h:59
Enumerator |
---|
APPENDER_NONE |
|
APPENDER_CONSOLE |
|
APPENDER_FILE |
|
APPENDER_DB |
|
Definition: Appender.h:46
Definition: Appender.h:47
uint8_t uint8
Definition: Define.h:152
Definition: Appender.h:48
Definition: Appender.h:49
Enumerator |
---|
LOG_LEVEL_DISABLED |
|
LOG_LEVEL_TRACE |
|
LOG_LEVEL_DEBUG |
|
LOG_LEVEL_INFO |
|
LOG_LEVEL_WARN |
|
LOG_LEVEL_ERROR |
|
LOG_LEVEL_FATAL |
|
Definition: Appender.h:35
Definition: Appender.h:34
Definition: Appender.h:36
Definition: Appender.h:37
Definition: Appender.h:38
Definition: Appender.h:33
Definition: Appender.h:39
template<class AppenderImpl >
123 return new AppenderImpl(
id, name, level,
flags, std::forward<ExtraAppenderArgs>(extraArgs));
uint8 flags
Definition: DisableMgr.cpp:44