| Trees | Indices | Help |
|---|
|
|
object --+
|
PrintLogger
Provides a dirt-simple interface compatible with stdout and stderr. When assigned to sys.stdout or sys.stderr, an instance of this class redirects print statements to the logging system. This means the result of the print statements can be silenced, sent to a file, etc. using the command line options to LSR. The log level used is defined by the LEVEL constant in this class.
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
| integer |
LEVEL = 15Logging level for writes directed through this class, above DEBUG and below INFO |
||
|
|||
| logging.Logger |
log Reference to the Print log channel |
||
|
|||
|
Inherited from |
|||
|
|||
Create the logger.
|
Write the given data at the debug level to the logger. Stores chunks of text until a new line is encountered, then sends to the logger.
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Mon Jun 4 15:33:17 2007 | http://epydoc.sourceforge.net |