debug

fun debug(logLevel: LogLevel, scope: LogScope, message: String = "", info: Map<String, Any>? = mapOf(), error: Throwable? = null)(source)

Note that info is read on the log thread, so it must not be mutated after being passed in.


inline fun debug(logLevel: LogLevel, scope: LogScope, error: Throwable? = null, info: () -> Map<String, Any>? = { mapOf() }, message: () -> String)(source)

Builds message and info only when something will consume the log. Note that info is read on the log thread, so it must not be mutated after being passed in.