setAndroidLogLevel method
设置 Android log 的级别
Implementation
@override
Future<Map<dynamic, dynamic>> setAndroidLogLevel(int level) async {
if (!Platform.isAndroid) {
return {
'code': kAliyunPushOnlyAndroid,
'errorMsg': 'Only support Android',
};
}
Map<dynamic, dynamic> result =
await methodChannel.invokeMethod('setLogLevel', {'level': level});
return result;
}