Package XPyLIB :: Module xlogging :: Class NullHandler
[hide private]
[frames] | no frames]

Class NullHandler

source code

logging.Filterer --+    
                   |    
     logging.Handler --+
                       |
                      NullHandler

Handler that do no output.

Instance Methods [hide private]
 
__init__(self, level=0)
Initializes the instance - basically setting the formatter to None and the filter list to empty.
source code
 
emit(self, record)
Do nothing.
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, level=0)
(Constructor)

source code 
Initializes the instance - basically setting the formatter to None and the filter list to empty.
Overrides: logging.Handler.__init__
(inherited documentation)

emit(self, record)

source code 
Do nothing.
Overrides: logging.Handler.emit