TrackingEvent

data class TrackingEvent(val timestamp: LocalDateTime, val type: TrackingType, val context: String, val category: Any? = null, val details: String = "", val threadId: Long = Thread.currentThread().threadId())

Data class representing a single tracking event.

Constructors

Link copied to clipboard
constructor(timestamp: LocalDateTime, type: TrackingType, context: String, category: Any? = null, details: String = "", threadId: Long = Thread.currentThread().threadId())

Properties

Link copied to clipboard

Optional grouping category (can be any type).

Link copied to clipboard

The context/name of the tracked element.

Link copied to clipboard

Additional details about the event.

Link copied to clipboard

The ID of the thread that generated the event.

Link copied to clipboard

The time when the event occurred.

Link copied to clipboard

The type of tracking event.