static Future setLogLevel(String logLevel) async { try { await _channel.invokeMethod('setLogLevel', {'logLevel': logLevel}); } on PlatformException catch (e) { print(e); } }