source: trunk/packages/xen-3.1/xen-3.1/tools/python/logging/logging-0.4.9.2/test/mymodule.py @ 34

Last change on this file since 34 was 34, checked in by hartmans, 18 years ago

Add xen and xen-common

File size: 157 bytes
Line 
1import logging
2log = logging.getLogger("MyModule")
3
4def doIt():
5        log.debug("Doin' stuff...")
6        #do stuff...
7        raise TypeError, "Bogus type error for testing"
8
Note: See TracBrowser for help on using the repository browser.