A log event (modelled by
contains information at a point in time and the state of a running system.
Important properties of an event are:
|Timestamp||The point in time when the event occurred, with microsecond or finer resolution.|
|Logger||Name of the logger that sent the event (e.g. a fully-qualified class name).|
|Level||An indication of the severity of the event.|
|Host||Name of the host where the event originated: important in distributed systems.|
|Context||Context where the event occurred, typically thread / coroutine name.|
|Message||A string message summarising what happened, that might be constructed from a template.|
|Stack trace||Details about an exception or error, if one is associate with the event.|
|Items||A map of useful information current at the time of the event.|
Each event also has a unique, random ID that is printed by the internal logger for diagnostic purposes.