Package-level declarations

Types

Link copied to clipboard
class Tracer(id: String?)

An append-only, thread-safe trace buffer that can be snapshotted and rolled back.

Link copied to clipboard
data class TraceRecord(val tag: String, val id: String?, val data: Any?, val timestamp: Long)

A single trace item captured by Tracer.

Link copied to clipboard
data class TraceSlice(val snapshot: List<TraceRecord>, val rollback: () -> Unit)

Immutable view of a drained trace buffer together with a rollback action.

Inherited functions

Link copied to clipboard

Serialize the TraceRecord.