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: 0.9.2a2 $LastChangedRevision: 160 $

Date: $LastChangedDate: 2007-08-02 22:58:23 +0200 (Do, 02 Aug 2007) $

Author: $LastChangedBy: doerwalter $

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

Imports: logging, xml