LoggerDSL

Types

Link copied to clipboard
Link copied to clipboard

The CommonLoggerDSL that sets up the logging of the data handled by a ConnectableDevice

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

the ContextualLogger to use for logging at this level

Functions

Link copied to clipboard
abstract fun logData(logger: ContextualLogger = contextualLogger.withAppendedTag("DATA"), dataLogger: ConnectionSettings.LoggerDSL.DataLoggerDSL.() -> Unit = {})

Sets up the DataLoggerDSL for logging of data handled by a ConnectableDevice

Link copied to clipboard
abstract fun logState(logger: ContextualLogger = contextualLogger.withAppendedTag("STATE"), stateLogger: ConnectionSettings.LoggerDSL.StateLoggerDSL.() -> Unit = {})

Sets up the StateLoggerDSL for logging of ConnectableDeviceState