I develop an application which does something each time in several runs.
I got much logging information in each run. So when a run was successfull (no exceptions thrown), and the users starts a new run, I want to overwrite the log file on starting the new run.
How can I achieve that?
Furthermore: How do I get the log-file name out of the Logger interface? I don't want to parse the App.xaml.cs