13 references to Response
HttpLogging.Sample (1)
SampleHttpLoggingInterceptor.cs (1)
58if (!logContext.IsAnyEnabled(HttpLoggingFields.Response))
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Logging\HttpLoggingRedactionInterceptor.cs (1)
146|| (!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)
837options.CurrentValue.LoggingFields = HttpLoggingFields.Response; 883options.CurrentValue.LoggingFields = HttpLoggingFields.Response; 907options.CurrentValue.LoggingFields = HttpLoggingFields.Response; 1088options.CurrentValue.LoggingFields = HttpLoggingFields.Response; 1126options.CurrentValue.LoggingFields = HttpLoggingFields.Response; 2031endpoint.MapGet("/attr_responseonly", [HttpLogging(HttpLoggingFields.Response)] async (HttpContext c) => 2041}).WithHttpLogging(HttpLoggingFields.Response); 2056endpoint.MapGet("/attr_restrictedheaders", [HttpLogging((HttpLoggingFields.Request & ~HttpLoggingFields.RequestScheme) | (HttpLoggingFields.Response & ~HttpLoggingFields.ResponseStatusCode))] async (HttpContext c) => 2066}).WithHttpLogging((HttpLoggingFields.Request & ~HttpLoggingFields.RequestScheme) | (HttpLoggingFields.Response & ~HttpLoggingFields.ResponseStatusCode));