setLogLevel method

Future<void> setLogLevel(
  1. int level
)

Set log output level

Parameters:

level For more information, please see TRTC_LOG_LEVEL_. Default value: TRTCCloudDef.TRTC_LOG_LEVEL_NULL

Platform not supported:

  • web

Implementation

Future<void> setLogLevel(
    int level // For more information, please see `TRTC_LOG_LEVEL`. Default value: TRTCCloudDef.TRTC_LOG_LEVEL_NULL
    ) {
  return _cloudChannel!.invokeMethod('setLogLevel', {"level": level});
}