18 references to Host
Microsoft.Extensions.Http.Diagnostics (10)
Logging\HttpClientLoggingTagNames.cs (1)
67Host,
Logging\Internal\Log.cs (9)
26$"{{{HttpClientLoggingTagNames.Method}}} {{{HttpClientLoggingTagNames.Host}}}/{{{HttpClientLoggingTagNames.Path}}}"; 30$"{{{HttpClientLoggingTagNames.Method}}} {{{HttpClientLoggingTagNames.Host}}}/{{{HttpClientLoggingTagNames.Path}}}"; 33$"The logger couldn't read its context for {{RequestState}} request: {{{HttpClientLoggingTagNames.Method}}} {{{HttpClientLoggingTagNames.Host}}}"; 37$"{{{HttpClientLoggingTagNames.Method}}} {{{HttpClientLoggingTagNames.Host}}}/{{{HttpClientLoggingTagNames.Path}}}"; 56[TagName(HttpClientLoggingTagNames.Host)] string? host, 64[TagName(HttpClientLoggingTagNames.Host)] string host, 73[TagName(HttpClientLoggingTagNames.Host)] string? host); 81[TagName(HttpClientLoggingTagNames.Host)] string host, 105loggerMessageState.TagArray[index++] = new(HttpClientLoggingTagNames.Host, record.Host);
Microsoft.Extensions.Http.Diagnostics.Tests (8)
Logging\AcceptanceTests.cs (1)
372state.Should().ContainSingle(kvp => kvp.Key == HttpClientLoggingTagNames.Host)
Logging\HttpClientLoggerTest.cs (7)
243logRecordState.Contains(HttpClientLoggingTagNames.Host, expectedLogRecord.Host); 340logRecordRequest.Contains(HttpClientLoggingTagNames.Host, expectedLogRecord.Host); 349logRecordFull.Contains(HttpClientLoggingTagNames.Host, expectedLogRecord.Host); 445logRecordState.Contains(HttpClientLoggingTagNames.Host, expectedLogRecord.Host); 560logRecordState.Contains(HttpClientLoggingTagNames.Host, expectedLogRecord.Host); 650logRecordState.Contains(HttpClientLoggingTagNames.Host, expectedLogRecord.Host); 923logRecord.Contains(HttpClientLoggingTagNames.Host, expectedLogRecord.Host);