Stopping/Starting NLog on runtime?
Hey,
is there a way to start/stop the logging from an application?
I found the possibility to change the config-file and reload it after, but sadly that's no opinion for me, b/c of ClickOnce deployment, which means, that no file is allowed to be changed.
So my hope is that there is a flag i can set with my application to start/stop the logging. Is there something like that? Maybe prevent NLog from reading the config file or something like that?
best regards
Fiona
|