Video SDK v3.7.1 API Reference for Unity
|
Public Attributes | |
string | filePath |
int | fileSize |
LOG_LEVEL | level |
The configuration of the log files.
string agora_gaming_rtc.LogConfig.filePath |
The absolute path of log files.
The default file path is:
/storage/emulated/0/Android/data/<package name>/files/agorasdk.log
App Sandbox/Library/caches/agorasdk.log
App Sandbox/Library/Logs/agorasdk.log
, such as /Users/<username>/Library/Containers/<App Bundle Identifier>/Data/Library/Logs/agorasdk.log
.~/Library/Logs/agorasdk.log
.C:\Users\<user_name>\AppData\Local\Agora\<process_name>\agorasdk.log
Ensure that the directory for the log files exists and is writable. You can use this parameter to rename the log files.
int agora_gaming_rtc.LogConfig.fileSize |
The size (KB) of a log file. The default value is 1024 KB. If you set fileSize
to 1024 KB, the SDK outputs at most 5 MB log files; if you set it to less than 1024 KB, the setting is invalid, and the maximum size of a log file is still 1024 KB.
LOG_LEVEL agora_gaming_rtc.LogConfig.level |
The output log level of the SDK. See LOG_LEVEL.
For example, if you set the log level to LOG_LEVEL_WARN
, the SDK outputs the logs within levels FATAL
, ERROR
, and WARN
.