debug

open fun debug(cause: Throwable? = null, msg: () -> String)

Logs a message at the Level.DEBUG level.

Parameters

cause

An optional Throwable to log along with the message.

msg

A lambda returning the string message to log. It is only evaluated if the given level is enabled.