Skip to content

fatal

inline suspend fun fatal(values: SentierValues = SentierValues.Empty, description: () -> String)

Logs an event at level LogLevel.Fatal in this coroutine.

Example

suspend fun createUser() {
    fatal { "Creating user" }
    // …do something…
}

See also