10 references to ResponseStatusCode
Microsoft.AspNetCore.HttpLogging (3)
HttpLoggingFields.cs (2)
166
/// Includes <see cref="
ResponseStatusCode
"/> and <see cref="ResponseHeaders"/>.
168
ResponsePropertiesAndHeaders =
ResponseStatusCode
| ResponseHeaders,
HttpLoggingMiddleware.cs (1)
333
if (loggingFields.HasFlag(HttpLoggingFields.
ResponseStatusCode
))
Microsoft.AspNetCore.HttpLogging.Tests (7)
HttpLoggingMiddlewareTests.cs (7)
933
options.CurrentValue.LoggingFields = HttpLoggingFields.
ResponseStatusCode
;
1198
options.CurrentValue.LoggingFields = HttpLoggingFields.
ResponseStatusCode
;
1421
[InlineData(HttpLoggingFields.
ResponseStatusCode
)]
1458
[InlineData(HttpLoggingFields.
ResponseStatusCode
)]
1702
Assert.True(context.TryDisable(HttpLoggingFields.
ResponseStatusCode
));
2056
endpoint.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
));