8 references to ResponseBody
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (3)
Logging\AcceptanceTests.cs (3)
210
x.LoggingFields |= HttpLoggingFields.
ResponseBody
;
686
x.LoggingFields |= HttpLoggingFields.RequestBody | HttpLoggingFields.
ResponseBody
;
720
static services => services.AddHttpLogging(static x => x.LoggingFields &= ~HttpLoggingFields.
ResponseBody
)
Microsoft.AspNetCore.HttpLogging (5)
HttpLoggingFields.cs (2)
184
/// Includes <see cref="ResponsePropertiesAndHeaders"/> and <see cref="
ResponseBody
"/>.
188
Response = ResponsePropertiesAndHeaders |
ResponseBody
,
HttpLoggingMiddleware.cs (1)
206
if (loggingFields.HasFlag(HttpLoggingFields.
ResponseBody
) || _interceptors.Length > 0)
IHttpLoggingInterceptor.cs (1)
33
/// and be logged together. <see cref="HttpLoggingFields.RequestBody"/> and <see cref="HttpLoggingFields.
ResponseBody
"/> can also be disabled in OnResponseAsync to prevent
ResponseBufferingStream.cs (1)
171
if (_logContext.LoggingFields.HasFlag(HttpLoggingFields.
ResponseBody
) && _logContext.ResponseBodyLogLimit > 0)