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;
  _logColor = color;
  await _invokeMethod('setLogLevel', level.index);
}