Skip to content

trace

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

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

Example

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

See also

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