Skip to main content

Module stats

Module stats 

Source

Structsยง

DayBucket
Digest
LoggedEvent
Logger
Background writer for events.jsonl. log is fire-and-forget over an mpsc channel; the writer thread holds write_lock while appending so clear_log can take the same lock to safely truncate without racing an in-flight write.
SuppressionCount

Enumsยง

EventPayload
GuardReason
Outcome
SkipSource

Functionsยง

append_one ๐Ÿ”’
clear_log
Remove events.jsonl. Takes the shared writer lock so an in-flight append from the Logger worker thread can finish first โ€” without it, the writer could re-create the file between our remove_file and the next event landing.
compute_digest
export_csv
guard_str ๐Ÿ”’
kind_str ๐Ÿ”’
outcome_str ๐Ÿ”’
read_all

Type Aliasesยง

CsvFields ๐Ÿ”’