(body pcommon.Value)
| 40 | } |
| 41 | |
| 42 | func (rp *redactProcessor) processLogBody(body pcommon.Value) { |
| 43 | if body.Type() == pcommon.ValueTypeStr { |
| 44 | red := redact.RedactableString(body.AsString()) |
| 45 | body.SetStr(string(red.Redact())) |
| 46 | } |
| 47 | } |
no test coverage detected