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: 503 $

Date: $LastChangedDate: 2007-10-18 22:43:15 +0200 (Do, 18 Okt 2007) $

Author: $LastChangedBy: cthedot $

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

Imports: logging, xml