can anyone help me in creating a "logfile" to write all the exceptions that occur in C#
5 Answers
Apart from the already suggested frameworks, there is also built-in tracing support in the .NET Framework.
1 Comment
munissor
Built-in traces are a very good tool, and you can also turn them on and off in runtime using TraceSwtiches. I'll prefer this approach instead of relying on 3rd party libraries.
Instead of writing your own logging framework, you can use one of the following: