Skip to main content

Module log_redact

Module log_redact 

Source
Expand description

Redaction helpers for tracing output (no secrets in logs). Redaction helpers for tracing and debug output (Gap 6: secrets never in logs).

Functionsยง

redact_anyhow_for_log
Format an anyhow::Error for logs, redacting ApiError response bodies in the chain.
redact_romm_error_for_log
Format a [RommError] for logs, redacting API response bodies.
redact_url_for_log
Strip URL userinfo and query strings before verbose HTTP logging.