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