lib.cuckoo.core.log.DatabaseHandler

Package lib :: Package cuckoo :: Package core :: Module log :: Class DatabaseHandler |
[hide private]
[frames] | no frames]

# Class DatabaseHandler

source code

          object --+
                   |
    logging.Filterer --+
                       |
         logging.Handler --+
                           |
                          DatabaseHandler

Logging to database handler. Used to log errors related to tasks in database.

Instance Methods | [hide private]
emit(self, record) Do whatever it takes to actually log the specified logging record. | source code
Inherited from `logging.Handler`: `__init__`, `acquire`, `close`, `createLock`, `flush`, `format`, `get_name`, `handle`, `handleError`, `release`, `setFormatter`, `setLevel`, `set_name` Inherited from `logging.Filterer`: `addFilter`, `filter`, `removeFilter` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables | [hide private]
Inherited from `logging.Handler`: `name`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### emit(self, record) | source code
Do whatever it takes to actually log the specified logging record. This version is intended to be implemented by subclasses and so raises a NotImplementedError. Overrides: logging.Handler.emit (inherited documentation)