setLogConfig static method

Future<V2TXLiveCode> setLogConfig(
  1. V2TXLiveLogConfig config
)

设置 Log 的配置信息

Implementation

static Future<V2TXLiveCode> setLogConfig(V2TXLiveLogConfig config) async {
  var code = await V2TXLivePremier()._channel.invokeMethod("setLogConfig", {"config": config.toJson()});
  if (code is V2TXLiveCode) {
    return code;
  } else {
    return V2TXLIVE_ERROR_FAILED;
  }
}