()
| 59 | } |
| 60 | |
| 61 | func loadRedactor() Redactor { |
| 62 | v := globalRedactor.Load() |
| 63 | if v == nil { |
| 64 | return nil |
| 65 | } |
| 66 | return v.(redactorHolder).r |
| 67 | } |
| 68 | |
| 69 | // redactingCore wraps a zapcore.Core and runs the active Redactor over every |
| 70 | // entry and field before delegating to the inner core. The indirection |