Writing Events to an Existing Log

If you examine the event log, you will notice that it's not crammed full of procedural-level statements indicating everything your application is or isn't doing. The event log does contain significant information about applications that were unable to start, services that failed, perhaps unavailable database connections, and other application, system, or security information that is essential to the proper initialization of your system or an application. This doesn't mean, however, that you cannot use the event log for application line items at a more granular level. What it does suggest is that you shouldn't use the existing Application, System, or Security logs for this purpose.

You will find it beneficial ...

Get Visual Basic® .NET Unleashed 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.