pub fn sanitize(value: &Value) -> ValueExpand description
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).