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 — TypeMultiEventLogProcesses 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 — TypeLocalEventLogStores 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 — TypeNoOpLogDisables event logging entirely.
Built-in Event Types
TimespanLogging.Events.CoreMetrics — TypeCoreMetricsTracks the timestamp, category, and kind of the Event object generated by log events.
TimespanLogging.Events.IDMetrics — TypeIDMetricsTracks the ID of Event objects generated by log events.
TimespanLogging.Events.TimelineMetrics — TypeTimelineMetricsTracks the timeline of Event objects generated by log events.
TimespanLogging.Events.FullMetrics — TypeFullMetricsTracks the full Event object generated by log events.
TimespanLogging.Events.CPULoadAverages — TypeCPULoadAveragesMonitors the CPU load averages.
TimespanLogging.Events.MemoryFree — TypeMemoryFreeMonitors the percentage of free system memory.
TimespanLogging.Events.EventSaturation — TypeEventSaturationTracks the compute saturation (running tasks) per-processor.
TimespanLogging.Events.DebugMetrics — TypeDebugging metric, used to log event start/finish via @debug.
TimespanLogging.Events.LogWindow — TypeLogWindowAggregator that prunes events to within a given time window.