Agora Server Gateway SDK C++ API Reference
Namespaces | Classes | Enumerations | Variables
agora::commons Namespace Reference

Namespaces

namespace  cjson
 

Classes

struct  LogConfig
 

Enumerations

enum  LOG_FILTER_TYPE {
  LOG_FILTER_OFF = 0 , LOG_FILTER_DEBUG = 0x080f , LOG_FILTER_INFO = 0x000f , LOG_FILTER_WARN = 0x000e ,
  LOG_FILTER_ERROR = 0x000c , LOG_FILTER_CRITICAL = 0x0008
}
 

Variables

OPTIONAL_ENUM_CLASS LOG_LEVEL
 
const uint32_t MAX_LOG_SIZE = 20 * 1024 * 1024
 
const uint32_t MIN_LOG_SIZE = 128 * 1024
 
const uint32_t DEFAULT_LOG_SIZE_IN_KB = 1024
 

Enumeration Type Documentation

◆ LOG_FILTER_TYPE

The output log level of the SDK.

Enumerator
LOG_FILTER_OFF 

0: Do not output any log information.

LOG_FILTER_DEBUG 

0x080f: Output all log information. Set your log filter as DEBUG if you want to get the most complete log file.

LOG_FILTER_INFO 

0x000f: Output CRITICAL, ERROR, WARNING, and INFO level log information. We recommend setting your log filter as this level.

LOG_FILTER_WARN 

0x000e: Output CRITICAL, ERROR, and WARNING level log information.

LOG_FILTER_ERROR 

0x000c: Output CRITICAL and ERROR level log information.

LOG_FILTER_CRITICAL 

0x0008: Output CRITICAL level log information.

Variable Documentation

◆ DEFAULT_LOG_SIZE_IN_KB

const uint32_t agora::commons::DEFAULT_LOG_SIZE_IN_KB = 1024

The default log size in kb

◆ LOG_LEVEL

OPTIONAL_ENUM_CLASS agora::commons::LOG_LEVEL
Initial value:
{
LOG_LEVEL_NONE = 0x0000,
LOG_LEVEL_INFO = 0x0001,
LOG_LEVEL_WARN = 0x0002,
LOG_LEVEL_ERROR = 0x0004,
LOG_LEVEL_FATAL = 0x0008,
}

The output log level of the SDK.

◆ MAX_LOG_SIZE

const uint32_t agora::commons::MAX_LOG_SIZE = 20 * 1024 * 1024

◆ MIN_LOG_SIZE

const uint32_t agora::commons::MIN_LOG_SIZE = 128 * 1024