Package epydoc :: Module gui :: Class GUILogger
[hide private]
[frames] | no frames]

Class GUILogger

source code


Instance Methods [hide private]
 
__init__(self, progress, cancel) source code
 
clear(self) source code
 
log(self, level, message)
Display a message.
source code
 
start_block(self, header)
Start a new message block.
source code
 
end_block(self)
End a warning block.
source code
 
start_progress(self, header=None)
Begin displaying progress for a new task.
source code
 
end_progress(self)
Finish off the display of progress for the current task.
source code
 
progress(self, percent, message='')
Update the progress display.
source code
 
read(self) source code

Inherited from log.Logger: close

Class Variables [hide private]
  _STAGES = [40, 7, 1, 3, 30, 1, 2, 100]
Method Details [hide private]

log(self, level, message)

source code 
Display a message.
Overrides: log.Logger.log
(inherited documentation)

start_block(self, header)

source code 
Start a new message block. Any calls to info(), warning(), 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.
Overrides: log.Logger.start_block
(inherited documentation)

end_block(self)

source code 
End a warning block. See start_block for details.
Overrides: log.Logger.end_block
(inherited documentation)

start_progress(self, header=None)

source code 
Begin displaying progress for a new task. 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).
Overrides: log.Logger.start_progress
(inherited documentation)

end_progress(self)

source code 
Finish off the display of progress for the current task. See start_progress for more information.
Overrides: log.Logger.end_progress
(inherited documentation)

progress(self, percent, message='')

source code 
Update the progress display.
Overrides: log.Logger.progress
(inherited documentation)