logging support

svn: r6081
This commit is contained in:
Don Allingham
2006-03-05 04:45:44 +00:00
parent fcdf07ccdd
commit b5934e134e
17 changed files with 144 additions and 8 deletions

View File

@ -27,6 +27,14 @@
#-------------------------------------------------------------------------
from cStringIO import StringIO
#-------------------------------------------------------------------------
#
# set up logging
#
#-------------------------------------------------------------------------
import logging
log = logging.getLogger(".DisplayState")
#-------------------------------------------------------------------------
#
# GNOME python modules
@ -516,13 +524,6 @@ class ManagedWindow:
"""
self.window.present()
#-------------------------------------------------------------------------
#
# Gramps Display State class
#
#-------------------------------------------------------------------------
import logging
from GrampsLogger import RotateHandler
class WarnHandler(RotateHandler):