DiagnosticEvent

data class DiagnosticEvent(val ts: Long, val level: DiagnosticLevel, val code: String, val category: DiagnosticCategory, val message: String, val context: Map<String, Any?>? = null)

A single structured diagnostic record.

Constructors

Link copied to clipboard
constructor(ts: Long, level: DiagnosticLevel, code: String, category: DiagnosticCategory, message: String, context: Map<String, Any?>? = null)

Properties

Link copied to clipboard

Functional area of the record.

Link copied to clipboard

The stable diagnostic code, e.g. DA-MANIFEST-FETCH-FAILED; see DIAGNOSTIC_CODES in the core module.

Link copied to clipboard

Optional JSON-serialisable structured context. Never contains secrets.

Link copied to clipboard

Severity of the record.

Link copied to clipboard

Human-readable description of what happened.

Link copied to clipboard
val ts: Long

Unix epoch milliseconds when the record was created.