webBluetoothLogger top-level property

Logger get webBluetoothLogger

The logger for messages generated by js_web_bluetooth and flutter_web_bluetooth.

This should only be used for these two libraries.

If no Logger has been set using setWebBluetoothLogger then it will create a new default logger using initWebBluetoothLogger.

Implementation

Logger get webBluetoothLogger {
  if (_webLogger == null) {
    initWebBluetoothLogger();
  }
  return _webLogger!;
}