9 references to IsAnyEnabled
Microsoft.AspNetCore.Diagnostics.Middleware (2)
Logging\HttpLoggingRedactionInterceptor.cs (2)
77
if (!logContext.
IsAnyEnabled
(HttpLoggingFields.RequestPropertiesAndHeaders))
152
|| (!logContext.
IsAnyEnabled
(HttpLoggingFields.Response) && logContext.Parameters.Count == 0))
Microsoft.AspNetCore.HttpLogging (7)
HttpLoggingInterceptorContext.cs (1)
127
if (
IsAnyEnabled
(fields))
HttpLoggingMiddleware.cs (5)
118
if (logContext.
IsAnyEnabled
(HttpLoggingFields.RequestPropertiesAndHeaders | HttpLoggingFields.RequestQuery))
201
if (logContext.
IsAnyEnabled
(HttpLoggingFields.ResponsePropertiesAndHeaders))
243
if (logContext.
IsAnyEnabled
(HttpLoggingFields.Duration))
271
if (logContext.
IsAnyEnabled
(HttpLoggingFields.Duration))
348
if (logContext.
IsAnyEnabled
(HttpLoggingFields.ResponsePropertiesAndHeaders))
RequestBufferingStream.cs (1)
126
if (logContext.
IsAnyEnabled
(HttpLoggingFields.RequestBody))