Skip to content

fatal

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

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

Example

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

See also

  • currentSpan: Make sure the thread has an assigned span.