Skip to main content

Module log_redaction

Module log_redaction 

Source
Expand description

Redaction of log lines before they are written.

A LineRedactor rewrites the output of the text log and of the JSON log. The text log passes each formatted line through a RedactingMakeWriter. The JSON log passes each event through LineRedactor::redact_json before it serializes the event.

Structs§

RedactingMakeWriter
Makes writers that pass every line through a LineRedactor.
RedactingWriter

Traits§

LineRedactor
Rewrites a formatted log line before it is written.