setLogLevel method

Future<void> setLogLevel(
  1. int logLevel
)

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}');
  }
}