|
Agora Java API Reference for Android
|
Configuration of Agora SDK log files. More...
Public Member Functions | |
| String | getFilePath () |
| int | getFileSize () |
| int | getLevel () |
Public Attributes | |
| String | filePath |
| int | fileSizeInKB |
| int | level = Constants.LogLevel.getValue(Constants.LogLevel.LOG_LEVEL_INFO) |
Configuration of Agora SDK log files.
| String io.agora.rtc2.RtcEngineConfig.LogConfig.filePath |
The complete path of the log files. Agora recommends using the default log directory. If you need to modify the default directory, ensure that the directory you specify exists and is writable. The default path is /storage/emulated/0/Android/data/<packagename>/files/agorasdk.log.
| int io.agora.rtc2.RtcEngineConfig.LogConfig.fileSizeInKB |
The size (KB) of an agorasdk.log file. The value range is [128,20480]. The default value is 2,048 KB. If you set fileSizeInKByte smaller than 128 KB, the SDK automatically adjusts it to 128 KB; if you set fileSizeInKByte greater than 20,480 KB, the SDK automatically adjusts it to 20,480 KB.
| int io.agora.rtc2.RtcEngineConfig.LogConfig.level = Constants.LogLevel.getValue(Constants.LogLevel.LOG_LEVEL_INFO) |
The output level of the SDK log file. See LogLevel. For example, if you set the log level to WARN, the SDK outputs the logs within levels FATAL, ERROR, and WARN.
1.8.18