This is my first time using the NLog package for logging but so far its been great to work with.
In my scenario I need to initialize my NLog LoggingConfiguration settings programmatically rather than thru the more typical config file scenario. I've tested this and got it all working the way I want it by default. But how would I go about modifying my settings programmatically at run-time?
Probably the most common scenario here is one where the application's logging level is set to ERROR by default but a bug arises in a particular module that I want to switch the logging level to be much more verbose to track down the error.
I'd like to write a little web interface so I can easily tweak these settings at runtime but I want to make sure I am taking the right approach with this.