6 writes to LoggingFields
HttpLogging.Sample (1)
SampleHttpLoggingInterceptor.cs (1)
15
logContext.
LoggingFields
= HttpLoggingFields.None;
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Logging\HttpLoggingRedactionInterceptor.cs (1)
70
logContext.
LoggingFields
= HttpLoggingFields.None;
Microsoft.AspNetCore.HttpLogging (4)
HttpLoggingInterceptorContext.cs (3)
99
LoggingFields
|= fields;
117
LoggingFields
&= ~fields;
139
LoggingFields
= HttpLoggingFields.None;
HttpLoggingMiddleware.cs (1)
78
logContext.
LoggingFields
= loggingFields;
10 references to LoggingFields
Microsoft.AspNetCore.HttpLogging (10)
HttpLoggingInterceptorContext.cs (6)
74
/// Gets a list of parameters that will be logged as part of the request or response. Values specified in <see cref="
LoggingFields
"/>
94
/// Adds the given fields to what's currently enabled in <see cref="
LoggingFields
"/>.
103
/// Checks if any of the given fields are currently enabled in <see cref="
LoggingFields
"/>.
108
return (
LoggingFields
& fields) != HttpLoggingFields.None;
112
/// Removes the given fields from what's currently enabled in <see cref="
LoggingFields
"/>.
121
/// Disables the given fields if any are currently enabled in <see cref="
LoggingFields
"/>.
HttpLoggingMiddleware.cs (2)
107
loggingFields = logContext.
LoggingFields
;
330
var loggingFields = logContext.
LoggingFields
;
IHttpLoggingInterceptor.cs (1)
17
/// will be cleared after logging the request. <see cref="HttpLoggingInterceptorContext.
LoggingFields
"/> may be changed per request to control the logging behavior.
ResponseBufferingStream.cs (1)
126
if (_logContext.
LoggingFields
.HasFlag(HttpLoggingFields.ResponseBody) && _logContext.ResponseBodyLogLimit > 0)