1 write to _headersDataClasses
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Logging\RequestHeadersLogEnricher.cs (1)
38
_headersDataClasses
= opt.HeadersDataClasses.Count == 0 ? [] : opt.HeadersDataClasses.ToArray();
6 references to _headersDataClasses
Microsoft.AspNetCore.Diagnostics.Middleware (6)
Logging\RequestHeadersLogEnricher.cs (6)
39
_normalizedHeaders = HeaderNormalizer.PrepareNormalizedHeaderNames(
_headersDataClasses
, HttpLoggingTagNames.RequestHeaderPrefix);
41
if (
_headersDataClasses
.Length > 0)
58
if (
_headersDataClasses
.Length == 0)
63
if (
_headersDataClasses
.Length != 0)
65
for (int i = 0; i <
_headersDataClasses
.Length; i++)
67
var header =
_headersDataClasses
[i];