Package cssutils :: Module errorhandler
[hide private]
[frames] | no frames]

Module errorhandler

source code

cssutils ErrorHandler

ErrorHandler

used as log with usual levels (debug, info, warn, error)

if instanciated with raiseExceptions=True raises exeptions instead of logging

log

defaults to instance of ErrorHandler for any kind of log message from lexerm, parser etc.


Version: $Id: errorhandler.py 1324 2008-07-06 18:17:56Z cthedot $

Classes [hide private]
  _ErrorHandler
handles all errors and log messages
  ErrorHandler
Singleton, see _ErrorHandler

Imports: logging, urllib2, xml, Deprecated