Skip to content

error

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

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

Example

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

See also