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