6 references to UserName
Microsoft.AspNetCore.HttpLogging (5)
W3CLoggerProcessor.cs (1)
51
if (_loggingFields.HasFlag(W3CLoggingFields.
UserName
))
W3CLoggingFields.cs (2)
156
/// <see cref="
UserName
"/>, and <see cref="Cookie"/>.
160
UserName
| Cookie
W3CLoggingMiddleware.cs (2)
28
internal static readonly int _userNameIndex = BitOperations.Log2((int)W3CLoggingFields.
UserName
);
207
if (options.LoggingFields.HasFlag(W3CLoggingFields.
UserName
))
Microsoft.AspNetCore.HttpLogging.Tests (1)
W3CLoggerOptionsTests.cs (1)
13
Assert.False(options.LoggingFields.HasFlag(W3CLoggingFields.
UserName
));