setLogLevel method
Sets the log verbosity of the plugin's internal logging system, for both Dart and native code.
Implementation
@override
Future<void> setLogLevel(LogLevel level) async {
await methodChannel.invokeMethod<void>('setLogLevel', level.index);
// Set the log level for the Dart logger as well, to keep it in sync with the native side.
ReadiumLog.setLevel(level);
}