TimespanLogging Types
TimespanLogging.Events.CPULoadAveragesTimespanLogging.Events.CoreMetricsTimespanLogging.Events.DebugMetricsTimespanLogging.Events.EventSaturationTimespanLogging.Events.FullMetricsTimespanLogging.Events.IDMetricsTimespanLogging.Events.LogWindowTimespanLogging.Events.MemoryFreeTimespanLogging.Events.TimelineMetricsTimespanLogging.LocalEventLogTimespanLogging.MultiEventLogTimespanLogging.NoOpLog
Log Sink Types
TimespanLogging.MultiEventLog — Type
MultiEventLogProcesses events immediately, generating multiple log streams. Multiple consumers may register themselves in the MultiEventLog, and when accessed, log events will be provided to all consumers. A consumer is simply a function or callable struct which will be called with an event when it's generated. The return value of the consumer will be pushed into a log stream dedicated to that consumer. Errors thrown by consumers will be caught and rendered, but will not otherwise interrupt consumption by other consumers, or future consumption cycles. An error will result in nothing being appended to that consumer's log.
TimespanLogging.LocalEventLog — Type
LocalEventLogStores events in a process-local array. Accessing the logs is all-or-nothing; if multiple consumers call get_logs!, they will get different sets of logs.
TimespanLogging.NoOpLog — Type
NoOpLogDisables event logging entirely.
Built-in Event Types
TimespanLogging.Events.CoreMetrics — Type
CoreMetricsTracks the timestamp, category, and kind of the Event object generated by log events.
TimespanLogging.Events.IDMetrics — Type
IDMetricsTracks the ID of Event objects generated by log events.
TimespanLogging.Events.TimelineMetrics — Type
TimelineMetricsTracks the timeline of Event objects generated by log events.
TimespanLogging.Events.FullMetrics — Type
FullMetricsTracks the full Event object generated by log events.
TimespanLogging.Events.CPULoadAverages — Type
CPULoadAveragesMonitors the CPU load averages.
TimespanLogging.Events.MemoryFree — Type
MemoryFreeMonitors the percentage of free system memory.
TimespanLogging.Events.EventSaturation — Type
EventSaturationTracks the compute saturation (running tasks) per-processor.
TimespanLogging.Events.DebugMetrics — Type
Debugging metric, used to log event start/finish via @debug.
TimespanLogging.Events.LogWindow — Type
LogWindowAggregator that prunes events to within a given time window.