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)
877options.CurrentValue.LoggingFields = HttpLoggingFields.Response; 923options.CurrentValue.LoggingFields = HttpLoggingFields.Response; 947options.CurrentValue.LoggingFields = HttpLoggingFields.Response; 1128options.CurrentValue.LoggingFields = HttpLoggingFields.Response; 1166options.CurrentValue.LoggingFields = HttpLoggingFields.Response; 2163endpoint.MapGet("/attr_responseonly", [HttpLogging(HttpLoggingFields.Response)] async (HttpContext c) => 2173}).WithHttpLogging(HttpLoggingFields.Response); 2188endpoint.MapGet("/attr_restrictedheaders", [HttpLogging((HttpLoggingFields.Request & ~HttpLoggingFields.RequestScheme) | (HttpLoggingFields.Response & ~HttpLoggingFields.ResponseStatusCode))] async (HttpContext c) => 2198}).WithHttpLogging((HttpLoggingFields.Request & ~HttpLoggingFields.RequestScheme) | (HttpLoggingFields.Response & ~HttpLoggingFields.ResponseStatusCode));