Package rrlog :: Module logging23 :: Class _Handler
[hide private]
[frames] | no frames]

Class _Handler

source code

logging.Filterer --+    
                   |    
     logging.Handler --+
                       |
                      _Handler

Instance Methods [hide private]
 
__init__(self, log, level=0)
Initializes the instance - basically setting the formatter to None and the filter list to empty.
source code
 
emit(self, record)
Do whatever it takes to actually log the specified logging record.
source code

Inherited from logging.Handler: acquire, close, createLock, flush, format, handle, handleError, release, setFormatter, setLevel

Inherited from logging.Filterer: addFilter, filter, removeFilter

Method Details [hide private]

__init__(self, log, level=0)
(Constructor)

source code 

Initializes the instance - basically setting the formatter to None and the filter list to empty.

Parameters:
  • log - Your ready-to-use log object
  • level - One of the ordered standard logging constants
Overrides: logging.Filterer.__init__

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)