10 references to IsAnyEnabled
HttpLogging.Sample (2)
SampleHttpLoggingInterceptor.cs (2)
19if (!logContext.IsAnyEnabled(HttpLoggingFields.Request)) 58if (!logContext.IsAnyEnabled(HttpLoggingFields.Response))
Microsoft.AspNetCore.Diagnostics.Middleware (2)
Logging\HttpLoggingRedactionInterceptor.cs (2)
75if (!logContext.IsAnyEnabled(HttpLoggingFields.RequestPropertiesAndHeaders)) 146|| (!logContext.IsAnyEnabled(HttpLoggingFields.Response) && logContext.Parameters.Count == 0))
Microsoft.AspNetCore.HttpLogging (6)
HttpLoggingInterceptorContext.cs (1)
127if (IsAnyEnabled(fields))
HttpLoggingMiddleware.cs (4)
110if (logContext.IsAnyEnabled(HttpLoggingFields.RequestPropertiesAndHeaders | HttpLoggingFields.RequestQuery)) 188if (logContext.IsAnyEnabled(HttpLoggingFields.ResponsePropertiesAndHeaders)) 231if (logContext.IsAnyEnabled(HttpLoggingFields.Duration)) 259if (logContext.IsAnyEnabled(HttpLoggingFields.Duration))
RequestBufferingStream.cs (1)
125if (logContext.IsAnyEnabled(HttpLoggingFields.RequestBody))