Custom Event Logs

One of the neat things that the EventLog object enables you to do is create custom event logs and write to them on the fly. To do this, however, you must first check to see whether the log that you want to write to already exists or whether you need to create it. As you’ll see in Listings 8.3 and 8.4, only a few extra lines of code ...

Get Debugging ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.