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: $LastChangedRevision: 1008 $

Date: $LastChangedDate: 2008-02-11 22:08:18 +0100 (Mo, 11 Feb 2008) $

Author: $LastChangedBy: cthedot $

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

Imports: logging, xml