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)
368
x.LoggingFields = HttpLoggingFields.
All
;
Microsoft.AspNetCore.HttpLogging.Tests (21)
HttpLoggingMiddlewareTests.cs (21)
755
options.CurrentValue.LoggingFields = HttpLoggingFields.
All
;
778
context.LoggingFields = HttpLoggingFields.
All
;
800
options.CurrentValue.LoggingFields = HttpLoggingFields.
All
;
828
options.CurrentValue.LoggingFields = HttpLoggingFields.
All
;
1307
options.CurrentValue.LoggingFields = HttpLoggingFields.
All
;
1411
options.CurrentValue.LoggingFields = HttpLoggingFields.
All
^ HttpLoggingFields.ResponsePropertiesAndHeaders;
1561
[InlineData(HttpLoggingFields.
All
, true, true)]
1562
[InlineData(HttpLoggingFields.
All
, false, false)]
1639
options.CurrentValue.LoggingFields = HttpLoggingFields.
All
;
1745
options.CurrentValue.LoggingFields = HttpLoggingFields.
All
;
1778
context.LoggingFields = HttpLoggingFields.
All
;
1801
options.CurrentValue.LoggingFields = HttpLoggingFields.
All
;
1829
options.CurrentValue.LoggingFields = HttpLoggingFields.
All
;
1922
Assert.Equal(HttpLoggingFields.
All
, requestContext.LoggingFields);
1927
Assert.Equal(HttpLoggingFields.
All
& ~HttpLoggingFields.RequestHeaders, responseContext.LoggingFields);
2012
Assert.Equal(HttpLoggingFields.
All
, requestContext.LoggingFields);
2017
Assert.Equal(HttpLoggingFields.
All
& ~HttpLoggingFields.RequestHeaders, responseContext.LoggingFields);
2046
services.AddHttpLogging(o => o.LoggingFields = HttpLoggingFields.
All
);
2137
private IHost CreateApp(HttpLoggingFields defaultFields = HttpLoggingFields.
All
, IHttpLoggingInterceptor interceptor = null)
2175
endpoint.MapGet("/attr_responseandrequest", [HttpLogging(HttpLoggingFields.
All
)] async (HttpContext c) =>
2186
}).WithHttpLogging(HttpLoggingFields.
All
);