error

fun Logger.error(exception: Throwable): Unit

Logs an error from an exception using its message