error

fun Logger.error(message: String, throwable: Throwable? = null)

Calls Logger.log message with Error level.

Parameters

message

Message to log.

throwable

Optional Throwable to log, default null.