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