- Notifications
You must be signed in to change notification settings - Fork1.4k
AspNet MVC Action Layout Renderer
Rolf Kristensen edited this pageJan 1, 2022 ·4 revisions
ASP.NET MVC Action-Name by lookup ofaction-value in HttpContext.Current.GetRouteData
Platforms Supported:All
Introduced in NLog.Web 4.3
${aspnet-mvc-action}Use this layout renderer to insert the Action Method from MVC Pipeline.
See alsoAspNetRequest-RouteParameters-Layout-Renderer for lookup of other Route-Parameter Values.
-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