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

Class GUILogger
source code


Instance Methods [hide private]
  __init__(self, progress, cancel)
  clear(self)
  log(self, level, message)
Display a message.
  start_block(self, header)
Start a new message block.
  end_block(self)
End a warning block.
  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.
  progress(self, percent, message='')
Update the progress display.
  read(self)

Class Variables [hide private]
_STAGES  

Method Details [hide private]

__init__(self, progress, cancel)
(Constructor)

source code 

clear(self)

source code 

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, 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.
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)

read(self)

source code 

Class Variable Details [hide private]

_STAGES

Value:
[40, 7, 1, 3, 30, 1, 2, 100]