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.

  - raiseExceptions = [False, True]
  - setloglevel(loglevel)

Version: $Id: errorhandler.py 1234 2008-05-22 20:26:12Z cthedot $

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

Imports: logging, urllib2, xml