6 writes to LoggingFields
HttpLogging.Sample (1)
SampleHttpLoggingInterceptor.cs (1)
15logContext.LoggingFields = HttpLoggingFields.None;
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Logging\HttpLoggingRedactionInterceptor.cs (1)
70logContext.LoggingFields = HttpLoggingFields.None;
Microsoft.AspNetCore.HttpLogging (4)
HttpLoggingInterceptorContext.cs (3)
99LoggingFields |= fields; 117LoggingFields &= ~fields; 139LoggingFields = HttpLoggingFields.None;
HttpLoggingMiddleware.cs (1)
78logContext.LoggingFields = loggingFields;
10 references to LoggingFields
Microsoft.AspNetCore.HttpLogging (10)
HttpLoggingInterceptorContext.cs (6)
74/// Gets a list of parameters that will be logged as part of the request or response. Values specified in <see cref="LoggingFields"/> 94/// Adds the given fields to what's currently enabled in <see cref="LoggingFields"/>. 103/// Checks if any of the given fields are currently enabled in <see cref="LoggingFields"/>. 108return (LoggingFields & fields) != HttpLoggingFields.None; 112/// Removes the given fields from what's currently enabled in <see cref="LoggingFields"/>. 121/// Disables the given fields if any are currently enabled in <see cref="LoggingFields"/>.
HttpLoggingMiddleware.cs (2)
107loggingFields = logContext.LoggingFields; 330var loggingFields = logContext.LoggingFields;
IHttpLoggingInterceptor.cs (1)
17/// will be cleared after logging the request. <see cref="HttpLoggingInterceptorContext.LoggingFields"/> may be changed per request to control the logging behavior.
ResponseBufferingStream.cs (1)
126if (_logContext.LoggingFields.HasFlag(HttpLoggingFields.ResponseBody) && _logContext.ResponseBodyLogLimit > 0)