Changes

Jump to: navigation, search

Logging system

34 bytes added, 20:06, 26 February 2007
nicer table
Currently there is one instance of each of the above Handler classes in Gramps. Additionally there's also a StreamHandler() defined with <tt>sys.stderr</tt> as output stream for debugging purposes. All of these Handlers are attached to the root logger, thus active for any later defined logger.
The RotateHandler, GtkHandler and StreamHandler are all instantiated in <tt>gramps.py</tt> (setup_logging), while Warnhandler is instantiated in <tt>DisplayState.py</tt> (DisplayState.__init__). Rotatehandler is attached also to GtkHandler for the purpose described in GtkHandler description. Each Handler instance has a custom formatter assigned.
{| border="1" style="width:80%" cellpadding="2"
|+Handler instance parameters
|-
35
edits

Navigation menu