setLogDirPath method
Modify log storage path
The log files are stored in /app directory/files/log/tencent/liteav/
by default. To change the path, call this API before calling other methods and make sure that the directory exists and the application has read/write access to the directory.
Parameters:
path
Log storage path
Platform not supported:
- web
Implementation
Future<void> setLogDirPath(String path // Whether to enable
) {
return _cloudChannel!.invokeMethod('setLogDirPath', {
"path": path,
});
}