18 references to Host
Microsoft.Extensions.Http.Diagnostics (10)
Logging\HttpClientLoggingTagNames.cs (1)
67Host,
Logging\Internal\Log.cs (9)
23$"{{{HttpClientLoggingTagNames.Method}}} {{{HttpClientLoggingTagNames.Host}}}/{{{HttpClientLoggingTagNames.Path}}}"; 27$"{{{HttpClientLoggingTagNames.Method}}} {{{HttpClientLoggingTagNames.Host}}}/{{{HttpClientLoggingTagNames.Path}}}"; 30$"The logger couldn't read its context for {{RequestState}} request: {{{HttpClientLoggingTagNames.Method}}} {{{HttpClientLoggingTagNames.Host}}}"; 34$"{{{HttpClientLoggingTagNames.Method}}} {{{HttpClientLoggingTagNames.Host}}}/{{{HttpClientLoggingTagNames.Path}}}"; 53[TagName(HttpClientLoggingTagNames.Host)] string? host, 61[TagName(HttpClientLoggingTagNames.Host)] string host, 70[TagName(HttpClientLoggingTagNames.Host)] string? host); 78[TagName(HttpClientLoggingTagNames.Host)] string host, 102loggerMessageState.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);