| Home | Trees | Index | Help |
|
|---|
|
|
|
|||
| __init__(self, verbosity) | |||
|
start_block(self,
header)
Start a new message block. |
|||
|
end_block(self)
End a warning block. |
|||
|
_format(self,
prefix,
message,
color)
Rewrap the message; but preserve newlines, and don't touch any lines that begin with spaces. |
|||
|
log(self,
level,
message)
Display a message. |
|||
| _report(self, message) | |||
|
progress(self,
percent,
message='')
Update the progress display. |
|||
| _timestr(self, dt) | |||
|
start_progress(self,
header=None)
Begin displaying progress for a new task. |
|||
|
end_progress(self)
Finish off the display of progress for the current task. |
|||
| print_times(self) | |||
|
|||
| supressed_docstring_warning | This variable will be incremented once every time a docstring warning is reported tothe logger, but the verbosity level is too low for it to be displayed. | ||
|
|||
|
info, warn, or error that occur between a call to
start_block and a corresponding call to
end_block will be grouped together, and displayed with a
common header. start_block can be called multiple times (to
form nested blocks), but every call to start_block
must be balanced by a call to end_block.
|
|
|
|
|
|
|
header is a
description of the task for which progress is being reported. Each call
to start_progress must be followed by a call to
end_progress (with no intervening calls to
start_progress).
|
|
|
|
|||
supressed_docstring_warningThis variable will be incremented once every time a docstring warning is reported tothe logger, but the verbosity level is too low for it to be displayed. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 3.0alpha2 on Tue Apr 11 17:34:00 2006 | http://epydoc.sf.net |