2 writes to StatusCode
Microsoft.Extensions.Http.Diagnostics (2)
Logging\Internal\HttpRequestReader.cs (1)
131
logRecord.
StatusCode
= (int)response.StatusCode;
Logging\Internal\LogRecord.cs (1)
90
StatusCode
= null;
4 references to StatusCode
Microsoft.Extensions.Http.Diagnostics (4)
Logging\Internal\HttpClientLogger.cs (1)
142
int statusCode = logRecord.
StatusCode
!.Value;
Logging\Internal\Log.cs (3)
93
var statusCodePropertyCount = record.
StatusCode
.HasValue ? 1 : 0;
106
if (record.
StatusCode
.HasValue)
108
loggerMessageState.TagArray[index++] = new(HttpClientLoggingTagNames.StatusCode, record.
StatusCode
.Value);