error

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

Logs message at error level, with the stack trace of throwable if given.