Remove/Pause Destination

Issue #6 resolved
Marko K created an issue

One can easily add as many logging destinations - which is great. But, it would be nice if such destinations could be removed (e.g. dynamically change the location of log file) or paused.

Comments (2)

  1. raz repo owner

    Removing destinations should be possible, but pausing would have a negative performance impact because I would have to use something like the atomic int class for the pause variable and I would rather avoid that.

    Could you give me some more details about your use case?

    In the example with changing the location of a log file, is it mandatory that the location is change while the app is running? Otherwise a workaround could be that the "log file path" setting were saved somewhere and then on restart the new location would be picked up.

  2. Log in to comment