errorNull

fun <T> KLogger.errorNull(throwable: Throwable? = null, block: () -> Any?): T?(source)

Lazy logs if KLogger.isErrorEnabled is true