- Notifications
You must be signed in to change notification settings - Fork1.4k
AspNet Request Duration Layout Renderer
Rolf Kristensen edited this pageJan 14, 2023 ·2 revisions
ASP.NET Request Duration.
Platforms Supported:All
Introduced with NLog.Web.AspNetCore v5.0.0 and NLog.Web v5.0.0
${aspnet-request-duration}- format - TimeSpan format. Can be any argument accepted by
TimeSpan.ToString(format).string. Defaultnull(Outputs milliseconds) - Culture - The culture used for rendering. Default
CultureInfo.InvariantCulture
-Troubleshooting Guide - See available NLog Targets and Layouts:https://nlog-project.org/config
- All targets, layouts and layout renderers
Popular: - Using NLog with NLog.config
- Using NLog with appsettings.json