Click here to Skip to main content
15,886,067 members
Articles / General Programming / Exceptions

Ensuring an Error is Logged Only Once

Rate me:
Please Sign up or sign in to vote.
2.33/5 (5 votes)
28 Nov 2018CPOL4 min read 7.5K   1  
By utilizing some fairly mundane features of .NET, we can log errors at the point where the exception occurred; preserving vital debug information while avoiding repetitive error logging.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions