I have a single-threaded .NET Winforms application. I am using a static NLog logger to log errors using this syntax:
In accordance with my one NLog.config-defined target and one NLog.config-defined rule, that log-error output always is written to a file called "errors.txt". Sometimes I want an error to be written to "errors2.txt" instead. How would I do that without creating another static logger instance?