23 references to All
HttpLogging.Sample (1)
Startup.cs (1)
16logging.LoggingFields = HttpLoggingFields.All;
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Logging\AcceptanceTests.cs (1)
282x.LoggingFields = HttpLoggingFields.All;
Microsoft.AspNetCore.HttpLogging.Tests (21)
HttpLoggingMiddlewareTests.cs (21)
715options.CurrentValue.LoggingFields = HttpLoggingFields.All; 738context.LoggingFields = HttpLoggingFields.All; 760options.CurrentValue.LoggingFields = HttpLoggingFields.All; 788options.CurrentValue.LoggingFields = HttpLoggingFields.All; 1241options.CurrentValue.LoggingFields = HttpLoggingFields.All; 1345options.CurrentValue.LoggingFields = HttpLoggingFields.All ^ HttpLoggingFields.ResponsePropertiesAndHeaders; 1495[InlineData(HttpLoggingFields.All, true, true)] 1496[InlineData(HttpLoggingFields.All, false, false)] 1573options.CurrentValue.LoggingFields = HttpLoggingFields.All; 1613options.CurrentValue.LoggingFields = HttpLoggingFields.All; 1646context.LoggingFields = HttpLoggingFields.All; 1669options.CurrentValue.LoggingFields = HttpLoggingFields.All; 1697options.CurrentValue.LoggingFields = HttpLoggingFields.All; 1790Assert.Equal(HttpLoggingFields.All, requestContext.LoggingFields); 1795Assert.Equal(HttpLoggingFields.All & ~HttpLoggingFields.RequestHeaders, responseContext.LoggingFields); 1880Assert.Equal(HttpLoggingFields.All, requestContext.LoggingFields); 1885Assert.Equal(HttpLoggingFields.All & ~HttpLoggingFields.RequestHeaders, responseContext.LoggingFields); 1914services.AddHttpLogging(o => o.LoggingFields = HttpLoggingFields.All); 2005private IHost CreateApp(HttpLoggingFields defaultFields = HttpLoggingFields.All, IHttpLoggingInterceptor interceptor = null) 2043endpoint.MapGet("/attr_responseandrequest", [HttpLogging(HttpLoggingFields.All)] async (HttpContext c) => 2054}).WithHttpLogging(HttpLoggingFields.All);