13 references to Response
HttpLogging.Sample (1)
SampleHttpLoggingInterceptor.cs (1)
58if (!logContext.IsAnyEnabled(HttpLoggingFields.Response))
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Logging\HttpLoggingRedactionInterceptor.cs (1)
152|| (!logContext.IsAnyEnabled(HttpLoggingFields.Response) && logContext.Parameters.Count == 0))
Microsoft.AspNetCore.HttpLogging (2)
HttpLoggingFields.cs (2)
192/// Includes <see cref="Request"/>, <see cref="Response"/>, and <see cref="Duration"/>. 201All = Request | Response | Duration
Microsoft.AspNetCore.HttpLogging.Tests (9)
HttpLoggingMiddlewareTests.cs (9)
894options.CurrentValue.LoggingFields = HttpLoggingFields.Response; 940options.CurrentValue.LoggingFields = HttpLoggingFields.Response; 964options.CurrentValue.LoggingFields = HttpLoggingFields.Response; 1145options.CurrentValue.LoggingFields = HttpLoggingFields.Response; 1183options.CurrentValue.LoggingFields = HttpLoggingFields.Response; 2181endpoint.MapGet("/attr_responseonly", [HttpLogging(HttpLoggingFields.Response)] async (HttpContext c) => 2191}).WithHttpLogging(HttpLoggingFields.Response); 2206endpoint.MapGet("/attr_restrictedheaders", [HttpLogging((HttpLoggingFields.Request & ~HttpLoggingFields.RequestScheme) | (HttpLoggingFields.Response & ~HttpLoggingFields.ResponseStatusCode))] async (HttpContext c) => 2216}).WithHttpLogging((HttpLoggingFields.Request & ~HttpLoggingFields.RequestScheme) | (HttpLoggingFields.Response & ~HttpLoggingFields.ResponseStatusCode));