setLogLevel static method

Future<void> setLogLevel(
  1. LogLevel level, {
  2. dynamic color = true,
})

Sets the internal FlutterBlue log level

Implementation

static Future<void> setLogLevel(LogLevel level, {color = true}) async {
  _logLevel = level;
  await _invokePlatform(
      () => FlutterBluePlusPlatform.instance.setLogLevel(BmSetLogLevelRequest(logLevel: level, logColor: color)));
}