A redaction hook sees values. The logger prints text. Errors, structs and printf arguments turn into text after the hook has run, so the secret inside them goes out as it came in.
Source: [Dev.to](https://dev.to/umudhasanli/your-logger-prints-secrets-after-you-redacted-them-3n7m)