setLogFile abstract method
Sets the log file.
Deprecated Deprecated: This method is deprecated. Set the log file path via the context parameter when calling initialize. Sets the output log file of the SDK. All logs generated during SDK runtime will be written to this file. The app must ensure that the specified directory exists and is writable.
filePathThe full path of the log file. The log file is encoded in UTF-8.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly. See Error Codes for details and resolution suggestions.
Implementation
Future<void> setLogFile(String filePath);