8 references to Redact
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Logging\RequestHeadersLogEnricher.cs (1)
72
var redacted = redactor.
Redact
(headerValue);
Microsoft.Extensions.Compliance.Abstractions.Tests (6)
Redaction\RedactorTest.cs (6)
19
Assert.Equal(string.Empty, r.
Redact
<object?>(null));
83
string redacted = r.
Redact
(spanFormattable, null, null);
122
string redacted = r.
Redact
(formattable, null, null);
161
string redacted = r.
Redact
(obj);
192
string redacted = r.
Redact
(Array.Empty<char>());
201
string redacted = r.
Redact
(new char[0]);
Microsoft.Extensions.Telemetry (1)
Logging\JustInTimeRedactor.cs (1)
54
return _redactor!.
Redact
(_value, format, formatProvider);