11 references to UserAgent
Microsoft.AspNetCore.HttpLogging (10)
W3CLoggerOptions.cs (2)
124
W3CLoggingFields.Host | W3CLoggingFields.
UserAgent
| W3CLoggingFields.Referer | W3CLoggingFields.ConnectionInfoFields;
138
if (options.LoggingFields.HasFlag(W3CLoggingFields.
UserAgent
))
W3CLoggerProcessor.cs (1)
95
if (_loggingFields.HasFlag(W3CLoggingFields.
UserAgent
))
W3CLoggingFields.cs (5)
137
/// Includes <see cref="Host"/>, <see cref="Referer"/>, and <see cref="
UserAgent
"/>.
139
RequestHeaders = Host | Referer |
UserAgent
,
145
/// and <see cref="
UserAgent
"/>.
155
/// <see cref="Host"/>, <see cref="
UserAgent
"/>, <see cref="Referer"/>,
159
TimeTaken | ProtocolVersion | Host |
UserAgent
| Referer | ConnectionInfoFields |
W3CLoggingMiddleware.cs (2)
39
internal static readonly int _userAgentIndex = BitOperations.Log2((int)W3CLoggingFields.
UserAgent
);
160
if (options.LoggingFields.HasFlag(W3CLoggingFields.
UserAgent
))
Microsoft.AspNetCore.HttpLogging.Tests (1)
W3CLoggingMiddlewareTests.cs (1)
221
W3CLoggingFields.Referer | W3CLoggingFields.
UserAgent
|