LoggingSink

constructor(maxLevel: TraceLevel = TraceLevel.Dispatch, log: (String) -> Unit)(source)

Parameters

maxLevel

highest TraceLevel this sink accepts.

log

receives one line per event; must be cheap and non-blocking.