structured-coroutines-runtime
Toggle table of contents
0.1.0-ALPHA03
common
Target filter
common
Switch theme
Search in API
Skip to content
structured-coroutines-runtime
structured-coroutines-runtime
/
io.github.santimattius.structured.runtime
/
LoggingSink
/
LoggingSink
Logging
Sink
constructor
(
maxLevel
:
TraceLevel
=
TraceLevel.Dispatch
,
log
:
(
String
)
->
Unit
)
(
source
)
Parameters
max
Level
highest
TraceLevel
this sink accepts.
log
receives one line per event; must be cheap and non-blocking.