Package flumotion :: Package extern :: Package log :: Module log :: Class LogHandler
[hide private]

Class LogHandler

source code

logging.Filterer --+    
                   |    
     logging.Handler --+
                       |
                      LogHandler

A standard library logging handler that logs through the log system of this module.

Instance Methods [hide private]
 
__init__(self, logCategory, targetModule)
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, logCategory, targetModule)
(Constructor)

source code 

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

Overrides: logging.Filterer.__init__
(inherited documentation)

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)