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

info

fun info(msg: String): Unit

Just like Logger.info

Parameters

msg - Message to log

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

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

Parameters

msg - Lambda to execute