atWarn

open fun atWarn(marker: Marker?, block: KLoggingEventBuilder.() -> Unit)

Lazy add a log message with throwable payload if isWarnEnabled is true

Parameters

marker

The marker to log

block

The block to log


open fun atWarn(block: KLoggingEventBuilder.() -> Unit)

Lazy add a log message with throwable payload if isWarnEnabled is true

Parameters

block

The block to log