setLogLevel abstract method

Future<void> setLogLevel(
  1. LogLevel level
)

Sets the output log level of the SDK.

Deprecated: This method is deprecated. Use RtcEngineContext instead to set the log output level. Choose a level to see the logs preceding that level.

  • level The log level: LogLevel.

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.

Implementation

Future<void> setLogLevel(LogLevel level);