<<<<<<< HEAD ======= >>>>>>> 0a75ee1214dbcf88620b703810fab9e09d8c89fb

warn

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

Logs a message at the Level.WARN 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.