Reputation: 11
can anyone help me in creating a "logfile" to write all the exceptions that occur in C#
Upvotes: 1
Views: 643
Reputation: 158379
Apart from the already suggested frameworks, there is also built-in tracing support in the .NET Framework.
Upvotes: 3
Reputation: 7374
Instead of writing your own logging framework, you can use one of the following:
Enterprise Library Logging Application Block
Upvotes: 2
Reputation: 24532
For logging only exceptions take a look at elmah for other logging look at log4net
Upvotes: 1
Reputation: 181
http://logging.apache.org/log4net is the standard tool in my experience.
Upvotes: 2