setLogDirPath abstract method
- String path
Set local log storage path
You can use this API to change the default storage path of the SDK's local logs, which is as follows:
- Windows:
C:/Users/[username]/AppData/Roaming/liteav/log
, i.e., under%appdata%/liteav/log
. - iOS or macOS: under
sandbox Documents/log
. - Android: under
/app directory/files/log/liteav/
.
Parameters:
- path(String):
- Log storage path.
Note Please be sure to call this API before all other APIs and make sure that the directory you specify exists and your application has read/write permissions for the directory.
Implementation
void setLogDirPath(String path);