Log event and timestamp classes.
Link copied to clipboard
data class LogEvent(val id: String = randomId(), val timestamp: Instant = timestampNow(), val host: String = hostname, val logger: String, val context: String? = threadContext(), val level: Level, val template: String? = null, val message: String, val stackTrace: String? = null, val items: EventItems = mapOf())
An event at a point in time with information about the running state of a program.