Summary

Employing the EventLog component saves you a lot of time that might otherwise be spent implementing a mechanism for logging critical problems in your application, or a tracing utility that can be used during development, testing, and debugging. The more such prebuilt components you can use to support your development efforts, the more time you can spend solving the primary problem.

Writing to the event log was available to us as VB6 developers, but the EventLog and the TraceListener interface make it easier than ever to manage logs and sources on local or remote machines. This chapter demonstrated most of the capabilities of the EventLog component.

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.