I have a class that should be logging as usual, but sometimes it should be logging to a specific target(eg. a file).
Here are my NLog config files:
nlog.config