error

open override fun error(message: String, throwable: Throwable?)

Logs an error message, optionally with a throwable.

Parameters

message

The message to log.

throwable

Optional exception to include in the log.