import './extension/IAgoraLogExtension'; /** * Log output level. */ export declare enum LogLevel { /** * 0: Do not output any logs. */ LogLevelNone = 0, /** * 0x0001: (Default) Outputs logs of FATAL, ERROR, WARN, and INFO levels. It is recommended to set the log level to this level. */ LogLevelInfo = 1, /** * 0x0002: Outputs only logs of FATAL, ERROR, and WARN levels. */ LogLevelWarn = 2, /** * 0x0004: Outputs only logs of FATAL and ERROR levels. */ LogLevelError = 4, /** * 0x0008: Outputs only logs of FATAL level. */ LogLevelFatal = 8, /** * @ignore */ LogLevelApiCall = 16, /** * @ignore */ LogLevelDebug = 32 } /** * Log filter level. */ export declare enum LogFilterType { /** * 0: Do not output any log information. */ LogFilterOff = 0, /** * 0x080f: Outputs all API log information. Set the log level to this value to get the most complete logs. */ LogFilterDebug = 2063, /** * 0x000f: Outputs logs at LogFilterCritical, LogFilterError, LogFilterWarn, and LogFilterInfo levels. It is recommended to set the log level to this value. */ LogFilterInfo = 15, /** * 0x000e: Outputs logs at LogFilterCritical, LogFilterError, and LogFilterWarn levels. */ LogFilterWarn = 14, /** * 0x000c: Outputs logs at LogFilterCritical and LogFilterError levels. */ LogFilterError = 12, /** * 0x0008: Outputs logs at LogFilterCritical level. */ LogFilterCritical = 8, /** * @ignore */ LogFilterMask = 2063 } /** * Configuration for SDK log files. */ export declare class LogConfig { /** * Full path of the log file. Agora recommends using the default log path. If you need to modify the default log path, make sure the specified path exists and is writable. * Default paths: * macOS: * Sandbox enabled: App Sandbox/Library/Logs/agorasdk.log, e.g., /Users//Library/Containers//Data/Library/Logs/agorasdk.log. * Sandbox disabled: ~/Library/Logs/agorasdk.log * Windows: C:\Users\\AppData\Local\Agora\\agorasdk.log. */ filePath?: string; /** * Size of a single agorasdk.log file in KB. Range: [128, 20480]. Default: 2,048 KB. If you set fileSizeInKByte to less than 128 KB, the SDK automatically adjusts it to 128 KB; if you set it to more than 20,480 KB, the SDK adjusts it to 20,480 KB. */ fileSizeInKB?: number; /** * Log output level of the SDK. See LogLevel. * For example, if you choose WARN level, you will see all logs at FATAL, ERROR, and WARN levels. */ level?: LogLevel; } //# sourceMappingURL=IAgoraLog.d.ts.map