8 references to IsAnyEnabled
Microsoft.AspNetCore.Diagnostics.Middleware (2)
Logging\HttpLoggingRedactionInterceptor.cs (2)
77if (!logContext.IsAnyEnabled(HttpLoggingFields.RequestPropertiesAndHeaders)) 152|| (!logContext.IsAnyEnabled(HttpLoggingFields.Response) && logContext.Parameters.Count == 0))
Microsoft.AspNetCore.HttpLogging (6)
HttpLoggingInterceptorContext.cs (1)
127if (IsAnyEnabled(fields))
HttpLoggingMiddleware.cs (4)
114if (logContext.IsAnyEnabled(HttpLoggingFields.RequestPropertiesAndHeaders | HttpLoggingFields.RequestQuery)) 192if (logContext.IsAnyEnabled(HttpLoggingFields.ResponsePropertiesAndHeaders)) 234if (logContext.IsAnyEnabled(HttpLoggingFields.Duration)) 262if (logContext.IsAnyEnabled(HttpLoggingFields.Duration))
RequestBufferingStream.cs (1)
126if (logContext.IsAnyEnabled(HttpLoggingFields.RequestBody))