Skip to main content

println_redacted

Function println_redacted 

Source
pub fn println_redacted(content: &str)
Expand description

Print to stdout with automatic secret redaction (with newline).

Use this instead of println! when output might contain secrets. This function applies redact() to the input before printing, ensuring any registered secrets are replaced with *_*.