Package-level declarations

Types

Link copied to clipboard
interface TimeMark

Interface that represents a time point. Remains bound to the time source it was taken from and allows querying for the duration of time elapsed from that point (see the val elapsedNow).

Link copied to clipboard
class TraceEncoder(scope: CoroutineScope, start: TimeMark = TraceEncoderTimeMark, ioDispatcher: CoroutineDispatcher = IO, sinkProvider: () -> BufferedSink) : Closeable

Encodes and writes trace events to an Okio BufferedSink.

Link copied to clipboard
sealed class TraceEvent

Represents a single event in a trace.

Link copied to clipboard
interface TraceLogger

Logs TraceEvents to a TraceEncoder under a given process and thread name.