10 references to StatusCode
Microsoft.Extensions.Http.Diagnostics (2)
Logging\HttpClientLoggingTagNames.cs (1)
74
StatusCode
Logging\Internal\Log.cs (1)
108
loggerMessageState.TagArray[index++] = new(HttpClientLoggingTagNames.
StatusCode
, record.StatusCode.Value);
Microsoft.Extensions.Http.Diagnostics.Tests (8)
Logging\AcceptanceTests.cs (1)
378
state.Should().ContainSingle(kvp => kvp.Key == HttpClientLoggingTagNames.
StatusCode
)
Logging\HttpClientLoggerTest.cs (7)
247
logRecordState.Contains(HttpClientLoggingTagNames.
StatusCode
, expectedLogRecord.StatusCode.Value.ToString(CultureInfo.InvariantCulture));
344
logRecordRequest.NotContains(HttpClientLoggingTagNames.
StatusCode
);
353
logRecordFull.Contains(HttpClientLoggingTagNames.
StatusCode
, expectedLogRecord.StatusCode.Value.ToString(CultureInfo.InvariantCulture));
450
logRecordState.NotContains(HttpClientLoggingTagNames.
StatusCode
);
565
logRecordState.NotContains(HttpClientLoggingTagNames.
StatusCode
);
654
logRecordState.Contains(HttpClientLoggingTagNames.
StatusCode
, expectedLogRecord.StatusCode.Value.ToString(CultureInfo.InvariantCulture));
927
logRecord.Contains(HttpClientLoggingTagNames.
StatusCode
, expectedLogRecord.StatusCode.Value.ToString(CultureInfo.InvariantCulture));