applyLogLevel method
Implementation
@override
Future<void> applyLogLevel(LogLevel logLevel) async {
try {
await methodChannel.invokeMethod('applyLogLevel', { 'logLevel': logLevel.value });
}
on PlatformException catch(exception) {
log.severe('Exception when setting the log level: ${exception.message}');
}
}