setLogLevel method
Sets log level.
Implementation
Future<void> setLogLevel(int logLevel) async {
try {
await _methodChannel.invokeMethod('setLogLevel', {'level': logLevel});
} on PlatformException catch (e) {
logger.e('Plugin setLogLevel error: ${e.message}');
}
}