Skip to content

debug

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

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

Example

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

See also

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