18 references to Host
Microsoft.Extensions.Http.Diagnostics (10)
Logging\HttpClientLoggingTagNames.cs (1)
67
Host
,
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,
105
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);