setLogConfig static method

Future<int?> setLogConfig(
  1. RTCLogConfig logConfig
)

Valid since v3.56.1

Configures the local log parameters of RTC SDK, including the logging level, directory, and the maximum cache space that can be used.

logConfig: Local log parameters.

Return value:

  • 0: Success.
  • –1: Failure. This API must be called before creating engine.
  • –2: Failure. Invalid parameters.

This API must be called before RTCVideo.createRTCVideo.

Implementation

static Future<int?> setLogConfig(RTCLogConfig logConfig) =>
    RTCVideoImpl.setLogConfig(logConfig);