addListener

open fun addListener(listener: LogListener)

Adds a log listener that will be notified of logging events. You can use the DefaultLogListener that prints logs to the standard output in a format similar to Log4j2

Parameters

listener

the listener.