warn

fun warn(message: () -> Any?)

Log a message using WARNING level.

Parameters

message

The required message to log.


fun <E : Throwable> warn(exception: E?, message: (E?) -> Any? = { "" })

Log a message using WARNING level with associated exception information.

Parameters

exception

The exception associated with log message.

message

The message to log (optional). If not supplied it will be empty.