skrypton-api / com.waicool20.skrypton.util / KLogger / debug

debug

fun debug(msg: String): Unit

Just like Logger.debug

Parameters

msg - Message to log

fun debug(msg: () -> Any): Unit

Executes given lambda and logs its result with Logger.debug. Allows lazy evaluation of logging message.

Parameters

msg - Lambda to execute