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)
772
options.CurrentValue.LoggingFields = HttpLoggingFields.
All
;
795
context.LoggingFields = HttpLoggingFields.
All
;
817
options.CurrentValue.LoggingFields = HttpLoggingFields.
All
;
845
options.CurrentValue.LoggingFields = HttpLoggingFields.
All
;
1324
options.CurrentValue.LoggingFields = HttpLoggingFields.
All
;
1428
options.CurrentValue.LoggingFields = HttpLoggingFields.
All
^ HttpLoggingFields.ResponsePropertiesAndHeaders;
1578
[InlineData(HttpLoggingFields.
All
, true, true)]
1579
[InlineData(HttpLoggingFields.
All
, false, false)]
1656
options.CurrentValue.LoggingFields = HttpLoggingFields.
All
;
1762
options.CurrentValue.LoggingFields = HttpLoggingFields.
All
;
1795
context.LoggingFields = HttpLoggingFields.
All
;
1818
options.CurrentValue.LoggingFields = HttpLoggingFields.
All
;
1846
options.CurrentValue.LoggingFields = HttpLoggingFields.
All
;
1939
Assert.Equal(HttpLoggingFields.
All
, requestContext.LoggingFields);
1944
Assert.Equal(HttpLoggingFields.
All
& ~HttpLoggingFields.RequestHeaders, responseContext.LoggingFields);
2029
Assert.Equal(HttpLoggingFields.
All
, requestContext.LoggingFields);
2034
Assert.Equal(HttpLoggingFields.
All
& ~HttpLoggingFields.RequestHeaders, responseContext.LoggingFields);
2063
services.AddHttpLogging(o => o.LoggingFields = HttpLoggingFields.
All
);
2155
private IHost CreateApp(HttpLoggingFields defaultFields = HttpLoggingFields.
All
, IHttpLoggingInterceptor interceptor = null)
2193
endpoint.MapGet("/attr_responseandrequest", [HttpLogging(HttpLoggingFields.
All
)] async (HttpContext c) =>
2204
}).WithHttpLogging(HttpLoggingFields.
All
);