warn

abstract fun warn(message: String, throwable: Throwable? = null)(source)

Logs a warning message.

Parameters

message

The message to log.

throwable

An optional throwable associated with the warning.