web_bluetooth_logger library

This is where all the log messages of the library end up.

by default the messages will be printed to the web console/ terminal, but if you want to do something special then you can overwrite the logger using setWebBluetoothLogger.

Properties

webBluetoothLogger → Logger
The logger for messages generated by js_web_bluetooth and flutter_web_bluetooth.
no setter

Functions

initWebBluetoothLogger() → void
Initialize a default instance of webBluetoothLogger. This will be done automatically the first time the logger is used. Unless setWebBluetoothLogger is used to overwrite the default created logger.
setWebBluetoothLogger(Logger logger) → void
Overwrite the logger used so you can decide where the log messages go.