12 references to Host
Microsoft.AspNetCore.HttpLogging (10)
W3CLoggerOptions.cs (2)
124W3CLoggingFields.Host | W3CLoggingFields.UserAgent | W3CLoggingFields.Referer | W3CLoggingFields.ConnectionInfoFields; 130if (options.LoggingFields.HasFlag(W3CLoggingFields.Host))
W3CLoggerProcessor.cs (1)
91if (_loggingFields.HasFlag(W3CLoggingFields.Host))
W3CLoggingFields.cs (5)
137/// Includes <see cref="Host"/>, <see cref="Referer"/>, and <see cref="UserAgent"/>. 139RequestHeaders = Host | Referer | UserAgent, 144/// <see cref="Method"/>, <see cref="Host"/>, <see cref="Referer"/>, 155/// <see cref="Host"/>, <see cref="UserAgent"/>, <see cref="Referer"/>, 159TimeTaken | ProtocolVersion | Host | UserAgent | Referer | ConnectionInfoFields |
W3CLoggingMiddleware.cs (2)
38internal static readonly int _hostIndex = BitOperations.Log2((int)W3CLoggingFields.Host); 144if (options.LoggingFields.HasFlag(W3CLoggingFields.Host))
Microsoft.AspNetCore.HttpLogging.Tests (2)
W3CLoggerTests.cs (1)
63LoggingFields = W3CLoggingFields.UriQuery | W3CLoggingFields.Host | W3CLoggingFields.ProtocolStatus,
W3CLoggingMiddlewareTests.cs (1)
220options.CurrentValue.LoggingFields = options.CurrentValue.LoggingFields | W3CLoggingFields.Host |