sink

fun sink(sinkName: String, sinkConfig: SinkConfiguration)

DSL function to specify a sink where log events can be dispatched.

Parameters

sinkName

name used to refer to the sink

sinkConfig

configuration to use


fun sink(sinkName: String, renderer: RenderString, sender: SendString)

DSL function to specify a sink where log events can be dispatched.

Parameters

sinkName

name used for to the sink

renderer

object that renders an event into a string

sender

object that sends an event as string somewhere


fun sink(sinkName: String, eventSender: EventSender)

DSL function to specify a sink from an EventSender.

Parameters

sinkName

name used for the sink

eventSender

EventSender for the sink to use