injectKoremodsLogAppender

internal fun injectKoremodsLogAppender(context: LoggerContext, callback: (Level, String) -> Unit)(source)

Injects a new KoremodsLogAppender to the specified context, delegating all append calls to the callback function

Parameters

context

The logger context to inject into

callback

Log appender callback

See also