Re: Python Debug logging

2005-03-15 Thread Steven Bethard
gf gf wrote: Is there a simple way to log to a debug console in Python? Don't know exactly what you want, but you should check out the logging module: http://docs.python.org/lib/minimal-example.html STeVe -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Debug logging

2005-03-15 Thread news.sydney.pipenetworks.com
gf gf wrote: Is there a simple way to log to a debug console in Python? In .NET, you can Debug.Write(str), which does nothing if there is no debug console open, but, if there is, debugs the message. Is there something similar? Alternatively, is there a very simple log4j type setup? I emphasize ve