SoftchatLogEvent

data class SoftchatLogEvent(val sequence: ULong, val occurrenceCount: ULong, val level: SoftchatLogLevel, val category: SoftchatLogCategory, val operation: String, val errorCode: SoftchatErrorCode?, val durationMicros: ULong?, val revision: Long?, val itemCount: ULong?, val byteCount: ULong?, val summary: String = "Account operation completed", val direction: SoftchatLogDirection? = null, val subject: SoftchatLogSubject? = null, val source: SoftchatLogSource? = null, val relation: SoftchatLogRelation? = null, val frameClass: String? = null, val reasonCode: String? = null, val occurredAtMillis: ULong, val lastOccurredAtMillis: ULong = occurredAtMillis, val counters: List<SoftchatLogCounter> = emptyList())

One immutable, structured, redacted SDK diagnostic.

operation is a stable static code such as relay.ready. Diagnostics never contain account or event identifiers, relay URLs, raw frames, messages, keys, ciphertext, file paths, or caller-provided text. Optional counts and timings are aggregate measurements only.

Constructors

Link copied to clipboard
constructor(sequence: ULong, occurrenceCount: ULong, level: SoftchatLogLevel, category: SoftchatLogCategory, operation: String, errorCode: SoftchatErrorCode?, durationMicros: ULong?, revision: Long?, itemCount: ULong?, byteCount: ULong?, summary: String = "Account operation completed", direction: SoftchatLogDirection? = null, subject: SoftchatLogSubject? = null, source: SoftchatLogSource? = null, relation: SoftchatLogRelation? = null, frameClass: String? = null, reasonCode: String? = null, occurredAtMillis: ULong, lastOccurredAtMillis: ULong = occurredAtMillis, counters: List<SoftchatLogCounter> = emptyList())

Properties

Link copied to clipboard

Aggregate bounded byte count when meaningful.

Link copied to clipboard

Stable SDK subsystem.

Link copied to clipboard

At most eight SDK-named numeric counters.

Link copied to clipboard

Direction of the described work.

Link copied to clipboard

Monotonic operation duration when measured.

Link copied to clipboard

Stable redacted failure, or null for a successful transition.

Link copied to clipboard

Static validated/planned frame class.

Link copied to clipboard

Aggregate bounded item count when meaningful.

Link copied to clipboard

Last emission represented by an aggregate.

Link copied to clipboard

Event severity.

Link copied to clipboard

Source emission wall-clock time, not message time.

Link copied to clipboard

Consecutive equivalent transitions represented by this event.

Link copied to clipboard

Stable static operation code.

Link copied to clipboard

Static failure/recovery reason independent of API success.

Link copied to clipboard

Validated chat relationship.

Link copied to clipboard

Durable account revision after a successful mutation.

Link copied to clipboard

Monotonic process-local sequence for this account handle.

Link copied to clipboard

Proven operation or ingress boundary.

Link copied to clipboard

Authenticated semantic family.

Link copied to clipboard

Static English description supplied by Rust.