9 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 (7)
HttpLoggingInterceptorContext.cs (1)
127if (IsAnyEnabled(fields))
HttpLoggingMiddleware.cs (5)
118if (logContext.IsAnyEnabled(HttpLoggingFields.RequestPropertiesAndHeaders | HttpLoggingFields.RequestQuery)) 201if (logContext.IsAnyEnabled(HttpLoggingFields.ResponsePropertiesAndHeaders)) 243if (logContext.IsAnyEnabled(HttpLoggingFields.Duration)) 271if (logContext.IsAnyEnabled(HttpLoggingFields.Duration)) 348if (logContext.IsAnyEnabled(HttpLoggingFields.ResponsePropertiesAndHeaders))
RequestBufferingStream.cs (1)
126if (logContext.IsAnyEnabled(HttpLoggingFields.RequestBody))