TraceRecord

data class TraceRecord(val tag: String, val id: String?, val data: Any?, val timestamp: Long)

A single trace item captured by Tracer.

Constructors

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

Properties

Link copied to clipboard
val data: Any?

Arbitrary payload supplied by the caller.

Link copied to clipboard
val id: String?

Optional identifier propagated from the owning Tracer.

Link copied to clipboard
val tag: String

A short identifier that categorises the trace entry.

Link copied to clipboard

Epoch-millis when the entry was recorded.

Inherited functions

Link copied to clipboard

Serialize the TraceRecord.