'What is the correct way to load the Nlog configuration from web.config at website startup in .NET Framework 4.6.1?
I’m converting a web application/web site from log4net to NLog. The code has this line:
Log4net.Config.XmlConfiguration.Configure();
This loads the logging configuration from the Web.Config file during startup.
What is the equivalent call to NLog? Is one even needed?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
