IntroductionWhen you're writing Jython or Java code for Wyvern, you'll find that it often doesn't work exactly you expect on the first try. It helps to be able to see what's going on in the code. Wyvern provides logging to help you do your debugging. The basic idea behind logging is this:
Once you finish writing a piece of code, you don't need to see most of the log messages anymore. However, sometimes you'll find that there's a bug in your code weeks or months later. All you have to do is turn debugging back on for that code, and you'll be able to find the problem easily, since the logging statements are all still there. This tutorial will cover how to use logging in your code, and how to debug with it.
|