DataLoggerDSL
The CommonLoggerDSL that sets up the logging of the data handled by a ConnectableDevice
Properties
Link copied to clipboard
the ContextualLogger to use for logging at this level
Functions
Link copied to clipboard
Creates the default ContextualLogger to use for a com.splendo.kaluga.bluetooth.RemoteService of a given UUID
Link copied to clipboard
abstract fun logAnyService(logger: (UUID) -> ContextualLogger = ::defaultLoggerForService, serviceLogger: ConnectionSettings.LoggerDSL.ServiceLoggerDSL.() -> Unit = {})
Sets up the ServiceLoggerDSL for all com.splendo.kaluga.bluetooth.RemoteService not explicitly configured hy logService
Link copied to clipboard
abstract fun logService(uuid: UUID, logger: ContextualLogger = defaultLoggerForService(uuid), serviceLogger: ConnectionSettings.LoggerDSL.ServiceLoggerDSL.() -> Unit = {})
Sets up the ServiceLoggerDSL for a com.splendo.kaluga.bluetooth.RemoteService of a given UUID