setLogger

fun setLogger(logger: Log.Sink<Category>?)

Sets the sink receiving the log entries emitted by this transport and the SMP service attached to the device.

The entries are reported under Category.TRANSPORT and Category.PROTOCOL, with the Bluetooth LE address of the device as the source. Set to null (the default) to stop logging.