-
Notifications
You must be signed in to change notification settings - Fork 1.4k
AspNet Environment layout renderer
Rolf Kristensen edited this page May 5, 2019
·
3 revisions
ASP.NET EnvironmentName (ASPNETCORE_ENVIRONMENT
)
Platforms Supported: Limited (Only supported in Asp.NetCore)
Introduced with NLog.Web.AspNetCore v4.4.0
${aspnet-environment}
The host automatically sets this property to the value of the ASPNETCORE_ENVIRONMENT
environment variable, or "environment" as specified in any other configuration source.
- Troubleshooting Guide - See available NLog Targets and Layouts: https://nlog-project.org/config
- Getting started
- How to use structured logging
- Troubleshooting
- FAQ
- Articles about NLog
-
All targets, layouts and layout renderers
Popular: - Using NLog with NLog.config
- Using NLog with appsettings.json