setLogLevel method

void setLogLevel(
  1. LogLevel level
)

Sets the log level of the FlutterBlue instance Messages equal or below the log level specified are stored/forwarded, messages above are dropped.

Implementation

void setLogLevel(LogLevel level) async {
  await _channel.invokeMethod('setLogLevel', level.index);
  _logLevel = level;
}