11#ifndef OPTIONAL_ENUM_CLASS
12#if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1800)
13#define OPTIONAL_ENUM_CLASS enum class
15#define OPTIONAL_ENUM_CLASS enum
19#ifndef OPTIONAL_LOG_LEVEL_SPECIFIER
20#if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1800)
21#define OPTIONAL_LOG_LEVEL_SPECIFIER LOG_LEVEL::
23#define OPTIONAL_LOG_LEVEL_SPECIFIER
37 LOG_LEVEL_NONE = 0x0000,
42 LOG_LEVEL_INFO = 0x0001,
46 LOG_LEVEL_WARN = 0x0002,
50 LOG_LEVEL_ERROR = 0x0004,
54 LOG_LEVEL_FATAL = 0x0008,
55 LOG_LEVEL_API_CALL = 0x0010,
56 LOG_LEVEL_DEBUG = 0x0020,
157#undef OPTIONAL_LOG_LEVEL_SPECIFIER
Definition IAgoraLog.h:66
virtual int32_t writeLog(LOG_LEVEL level, const char *message, uint16_t length)=0
virtual ~ILogWriter()
Definition IAgoraLog.h:78
Definition agora_log_i.h:14
const uint32_t MAX_LOG_SIZE
Definition IAgoraLog.h:115
OPTIONAL_ENUM_CLASS LOG_LEVEL
The output log level of the SDK.
Definition IAgoraLog.h:33
const uint32_t MIN_LOG_SIZE
Definition IAgoraLog.h:116
const uint32_t DEFAULT_LOG_SIZE_IN_KB
Definition IAgoraLog.h:119
LOG_FILTER_TYPE
The output log level of the SDK.
Definition IAgoraLog.h:84
@ LOG_FILTER_CRITICAL
Definition IAgoraLog.h:111
@ LOG_FILTER_DEBUG
Definition IAgoraLog.h:93
@ LOG_FILTER_MASK
Definition IAgoraLog.h:112
@ LOG_FILTER_WARN
Definition IAgoraLog.h:103
@ LOG_FILTER_INFO
Definition IAgoraLog.h:98
@ LOG_FILTER_ERROR
Definition IAgoraLog.h:107
@ LOG_FILTER_OFF
Definition IAgoraLog.h:88
Definition AgoraAtomicOps.h:21
LogConfig()
Definition IAgoraLog.h:152
LOG_LEVEL level
Definition IAgoraLog.h:150
uint32_t fileSizeInKB
Definition IAgoraLog.h:144
const char * filePath
Definition IAgoraLog.h:137