()
| 24 | } |
| 25 | |
| 26 | func NewSecretAwareRedactor() *SecretAwareRedactor { |
| 27 | return &SecretAwareRedactor{secrets: make(map[string]string)} |
| 28 | } |
| 29 | |
| 30 | func (s *SecretAwareRedactor) RedactStr(msg string) string { |
| 31 | return string(s.RedactBytes([]byte(msg))) |
no outgoing calls