setLogFile method
Specifies an SDK output log file.
The log file records all log data for the SDK’s operation. Ensure that the directory for the log file exists and is writable.
Note
- Ensure that you call this method immediately after calling the RtcEngine.create method, otherwise the output log may not be complete.
Parameter filePath
File path of the log file. The string of the log file is in UTF-8. The default file path is /storage/emulated/0/Android/data/<package name>="">/files/arsdk.log
.
Implementation
@override
@deprecated
Future<void> setLogFile(String filePath) {
return _invokeMethod('setLogFile', {'filePath': filePath});
}