Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.
...JDK 1.4 (a.k.a. JSR047) [1] log4j [2] the Syslog package from the Protomatter project [3] MAL's mx.Log package [4] Simple Example This shows a very simple example of how the logging package can be used to generate simple logging output on stderr. --------- mymodule.py ------------------------------- import logging log = logging.getLogger("MyModule") def doIt(): log.debug("Doin' stuff...") #do stuff... raise TypeError, "Bogus type error for testing" ------------------...