Home | Trees | Indices | Help |
|
---|
|
Logs text to standard output and/or a text file.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
bool |
|
||
Inherited from |
|
|||
file |
fd File object where log messages are printed to. |
||
str or None |
logfile Append messages to this text file. |
||
bool |
verboseTrue to print messages to standard output.
|
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Shows an error message to standard error if the log file can't be written to. Used internally.
|
Writes the given text verbatim into the log file (if any) and/or standard input (if the verbose flag is turned on). Used internally.
|
Log lines of text, inserting a timestamp.
|
Log lines of text associated with a debug event.
|
Determines if the logger will actually print anything when the log_* methods are called. This may save some processing if the log text requires a lengthy calculation to prepare. If no log file is set and stdout logging is disabled, there's no point in preparing a log text that won't be shown to anyone.
|
|
fdFile object where log messages are printed to.None if no
log file is used.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Dec 20 17:54:56 2013 | http://epydoc.sourceforge.net |