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

trace

fun trace(msg: String): Unit

Just like Logger.trace

Parameters

msg - Message to log

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

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

Parameters

msg - Lambda to execute