Agora RTC Objective-C API Reference Refactor

Data Structures | Variables
agora::commons Namespace Reference

## Data Structures
class | ILogWriter
struct | LogConfig

## Variables
const uint32_t | DEFAULT_LOG_SIZE_IN_KB = 2048

## Enumeration Type Documentation

## ◆ LOG_FILTER_TYPE

enum 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 to this level if you want to get the most complete log file.
LOG_FILTER_INFO | 0x000f: Output `LOG_FILTER_CRITICAL`, `LOG_FILTER_ERROR`, `LOG_FILTER_WARN`, and `LOG_FILTER_INFO` level log information. We recommend setting your log filter to this level.
LOG_FILTER_WARN | 0x000e: Output `LOG_FILTER_CRITICAL`, `LOG_FILTER_ERROR`, and `LOG_FILTER_WARN` level log information.
LOG_FILTER_ERROR | 0x000c: Output `LOG_FILTER_CRITICAL` and `LOG_FILTER_ERROR` level log information.
LOG_FILTER_CRITICAL | 0x0008: Output `LOG_FILTER_CRITICAL` level log information.
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,
LOG_LEVEL_DEBUG = 0x0020,
}

The output log level of the 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 = 2048

The default log size in kb