setLogLevel abstract method

Future<void> setLogLevel(
  1. LogLevel level
)

Sets the SDK log output level.

Deprecated Deprecated: This method is deprecated. Set the log output level via the context parameter when calling initialize. By selecting a level, you can see the logs at that level.

  • level Log level. See 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. See Error Codes for details and resolution suggestions.

Implementation

Future<void> setLogLevel(LogLevel level);