fatal

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

Logs a FATAL message with this wrapper's tag and throws after flushing all sinks.

This method never returns normally.

Parameters

throwable

An optional exception to attach as the cause.