18 references to Host
Microsoft.Extensions.Http.Diagnostics (10)
Logging\HttpClientLoggingTagNames.cs (1)
67
Host
,
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,
102
loggerMessageState.TagArray[index++] = new(HttpClientLoggingTagNames.
Host
, record.Host);
Microsoft.Extensions.Http.Diagnostics.Tests (8)
Logging\AcceptanceTests.cs (1)
372
state.Should().ContainSingle(kvp => kvp.Key == HttpClientLoggingTagNames.
Host
)
Logging\HttpClientLoggerTest.cs (7)
243
logRecordState.Contains(HttpClientLoggingTagNames.
Host
, expectedLogRecord.Host);
340
logRecordRequest.Contains(HttpClientLoggingTagNames.
Host
, expectedLogRecord.Host);
349
logRecordFull.Contains(HttpClientLoggingTagNames.
Host
, expectedLogRecord.Host);
445
logRecordState.Contains(HttpClientLoggingTagNames.
Host
, expectedLogRecord.Host);
560
logRecordState.Contains(HttpClientLoggingTagNames.
Host
, expectedLogRecord.Host);
650
logRecordState.Contains(HttpClientLoggingTagNames.
Host
, expectedLogRecord.Host);
923
logRecord.Contains(HttpClientLoggingTagNames.
Host
, expectedLogRecord.Host);