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