MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / NullHandler

Class NullHandler

Lib/logging/__init__.py:1672–1689  ·  view source on GitHub ↗

This handler does nothing. It's intended to be used to avoid the "No handlers could be found for logger XXX" one-off warning. This is important for library code, which may contain code to log events. If a user of the library does not configure logging, the one-off warning might be

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_showwarningFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected