fun warn(msg: String): Unit
Just like Logger.warn
msg - Message to log
msg
fun warn(msg: () -> Any): Unit
Executes given lambda and logs its result with Logger.warn. Allows lazy evaluation of logging message.
msg - Lambda to execute