fatal

fun fatal(throwable: Throwable? = null, attrs: AttrBuilder.() -> Unit = {}, message: () -> String)(source)

Logs a fatal message. This will likely cause the application to terminate after processing.

Parameters

throwable

An optional exception.

attrs

A builder for adding structured attributes.

message

A lambda that returns the log message.