Expand description
Debug logging helpers.
This crate primarily prints user-facing progress messages to stdout. Any verbose diagnostics should be gated behind an environment variable and must never leak secrets (tokens, client secrets, etc.).
Functionsยง
- enabled
- Returns true when debug logging is enabled.
- log
- Print a debug line to stderr when enabled.
- redact_
json_ secrets - Redact token-like values from a JSON string.
- token_
hint - Returns a safe, non-reversible hint for a token.