ConnectionSettings

constructor(reconnectionSettings: ConnectionSettings.ReconnectionSettings = ReconnectionSettings.Always, rootLogger: Logger = RestrictedLogger(RestrictedLogLevel.None), buildLogger: ConnectionSettings.LoggerDSL.() -> Unit)

Constructor

Parameters

reconnectionSettings

the ReconnectionSettings to apply when reconnecting

rootLogger

the Logger to use as the root for all logging as configured by buildLogger

buildLogger

the LoggerDSL to use for logging


constructor(reconnectionSettings: ConnectionSettings.ReconnectionSettings = ReconnectionSettings.Always, logger: Logger = RestrictedLogger(RestrictedLogLevel.None), dataLogger: Logger = RestrictedLogger(RestrictedLogLevel.None))

Constructor

Parameters

reconnectionSettings

the ReconnectionSettings to apply when reconnecting

logger

the Logger to use for logging state

dataLogger

the Logger to use for logging of sensitive, potentially high volume data