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 | |
---|---|
File size: 157 bytes |
Line | |
---|---|
1 | import logging |
2 | log = logging.getLogger("MyModule") |
3 | |
4 | def 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.