log

abstract fun log(level: BluetoothLogListener.Level, tag: String, message: String)

Called for each message the library logs.

Parameters

level

How serious the message is.

tag

Part of the library the message came from.

message

The message itself.


abstract fun log(level: BluetoothLogListener.Level, tag: String, message: String, throwable: Throwable)

Called for each message the library logs together with the error that caused it.

Parameters

level

How serious the message is.

tag

Part of the library the message came from.

message

The message itself.

throwable

The error the message is about.