Conclusion
That's it. You have just learned how to debug programs and to proactively use structured error and both the Debug and Trace objects. And we also covered how to write entries to the event log, encapsulating everything in a class. You could easily create another class that simply handles event log entries. By importing the namespace of the class into any of your programs, you are automatically given a powerful way to log important activity in your programs.