Home | Trees | Indices | Help |
|
---|
|
Functions used to report messages and progress updates to the user.
These functions are delegated to zero or more registered Logger objects,
which are responsible for actually presenting the information to the
user. Different interfaces are free to create and register their own
Logger
s, allowing them to present this information in the
manner that is best suited to each interface.
Note:
I considered using the standard logging
package to
provide this functionality. However, I found that it would be too
difficult to get that package to provide the behavior I want (esp.
with respect to progress displays; but also with respect to message
blocks).
|
|||
Logger An abstract base class that defines the interface for loggers, which are used by epydoc to report information back to the user. |
|||
SimpleLogger |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
DOCSTRING_WARNING = 25
|
|||
_loggers = [] The list of registered logging functions. |
|||
Message Severity Levels | |||
---|---|---|---|
DEBUG = 10
|
|||
INFO = 20
|
|||
WARNING = 30
|
|||
ERROR = 40
|
|||
FATAL = 40
|
|
Register a logger. Each call to one of the logging functions defined by this module will be delegated to each registered logger. |
Start a new message block. Any calls to info(), warning(), or error() that occur
between a call to |
End a warning block. See start_block for details. |
Begin displaying progress for a new task. |
Finish off the display of progress for the current task. See start_progress for more information. |
Update the progress display.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jun 13 23:50:15 2008 | http://epydoc.sourceforge.net |