Skip to main content

Module sanitizer

Module sanitizer 

Source

Functions§

is_sensitive_key
sanitize
Deep-clones value, replacing any object key matching a sensitive pattern with "[REDACTED]". Call this before logging any user- or API-controlled JSON payload (this crate’s tracing setup has no built-in path-based redaction the way pino’s redact option does).