hfc.util
¶
Subpackages¶
Package Contents¶
Classes¶
|
Handler instances dispatch logging events to specific destinations. |
-
class
hfc.util.
NullHandler
(level=NOTSET)¶ Bases:
logging.Handler
Handler instances dispatch logging events to specific destinations.
The base handler class. Acts as a placeholder which defines the Handler interface. Handlers can optionally use Formatter instances to format records as desired. By default, no formatter is specified; in this case, the ‘raw’ message as determined by record.message is logged.
-
emit
(self, record)¶ 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.
-