exception handler¶
Implements CoreExceptionHandler to stack and dump all low-level
exceptions in case a CRITICAL log level message occurs.
-
class
core4.logger.exception.CoreExceptionHandler(*args, level, size, target, **kwargs)[source]¶ This handler stacks all
logging.DEBUGlog records. If a log record with log levellogging.CRITICALappears, then all memorised log records are fed intosys.logMongoDB collection.