MCPcopy Index your code
hub / github.com/RustPython/RustPython / disable

Function disable

Lib/logging/__init__.py:2230–2235  ·  view source on GitHub ↗

Disable all logging calls of severity 'level' and below.

(level=CRITICAL)

Source from the content-addressed store, hash-verified

2228 root.log(level, msg, *args, **kwargs)
2229
2230def disable(level=CRITICAL):
2231 """
2232 Disable all logging calls of severity 'level' and below.
2233 """
2234 root.manager.disable = level
2235 root.manager._clear_cache()
2236
2237def shutdown(handlerList=_handlerList):
2238 """

Callers

nothing calls this directly

Calls 1

_clear_cacheMethod · 0.80

Tested by

no test coverage detected