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)
973
options.CurrentValue.LoggingFields = HttpLoggingFields.
ResponseStatusCode
;
1264
options.CurrentValue.LoggingFields = HttpLoggingFields.
ResponseStatusCode
;
1487
[InlineData(HttpLoggingFields.
ResponseStatusCode
)]
1524
[InlineData(HttpLoggingFields.
ResponseStatusCode
)]
1834
Assert.True(context.TryDisable(HttpLoggingFields.
ResponseStatusCode
));
2188
endpoint.MapGet("/attr_restrictedheaders", [HttpLogging((HttpLoggingFields.Request & ~HttpLoggingFields.RequestScheme) | (HttpLoggingFields.Response & ~HttpLoggingFields.
ResponseStatusCode
))] async (HttpContext c) =>
2198
}).WithHttpLogging((HttpLoggingFields.Request & ~HttpLoggingFields.RequestScheme) | (HttpLoggingFields.Response & ~HttpLoggingFields.
ResponseStatusCode
));