Agora RTC Objective-C API Reference Refactor

Data Structures | Variables
agora::commons Namespace Reference

## Data Structures
class | ILogWriter
struct | LogConfig

## Variables
OPTIONAL_ENUM_CLASS | LOG_LEVEL
const uint32_t | DEFAULT_LOG_SIZE_IN_KB = 1024

## Enumeration Type Documentation

## ◆ LOG_FILTER_TYPE

enum LOG_FILTER_TYPE

Enumerator
LOG_FILTER_OFF |
LOG_FILTER_DEBUG |
LOG_FILTER_INFO |
LOG_FILTER_WARN |
LOG_FILTER_ERROR |
LOG_FILTER_CRITICAL |
LOG_FILTER_MASK |

## Variable Documentation

## ◆ LOG_LEVEL

OPTIONAL_ENUM_CLASS LOG_LEVEL

Initial value:
{
LOG_LEVEL_NONE = 0x0000,
LOG_LEVEL_INFO = 0x0001,
LOG_LEVEL_WARN = 0x0002,
LOG_LEVEL_ERROR = 0x0004,
LOG_LEVEL_FATAL = 0x0008,
LOG_LEVEL_API_CALL = 0x0010,
}

Supported logging severities of SDK

## ◆ MAX_LOG_SIZE

const uint32_t MAX_LOG_SIZE = 20 * 1024 * 1024

## ◆ MIN_LOG_SIZE

const uint32_t MIN_LOG_SIZE = 128 * 1024

## ◆ DEFAULT_LOG_SIZE_IN_KB

const uint32_t DEFAULT_LOG_SIZE_IN_KB = 1024

The default log size in kb