error

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

Logs an error message.

Parameters

message

The message to log.

throwable

An optional throwable associated with the error.