7 references to Duration
Microsoft.AspNetCore.HttpLogging (5)
HttpLoggingFields.cs (2)
192
/// Includes <see cref="Request"/>, <see cref="Response"/>, and <see cref="
Duration
"/>.
201
All = Request | Response |
Duration
HttpLoggingMiddleware.cs (3)
231
if (logContext.IsAnyEnabled(HttpLoggingFields.
Duration
))
233
logContext.AddParameter(nameof(HttpLoggingFields.
Duration
), logContext.GetDuration());
259
if (logContext.IsAnyEnabled(HttpLoggingFields.
Duration
))
Microsoft.AspNetCore.HttpLogging.Tests (2)
HttpLoggingMiddlewareTests.cs (2)
861
options.CurrentValue.LoggingFields = HttpLoggingFields.
Duration
;
1562
if (fields.HasFlag(HttpLoggingFields.
Duration
))