MCPcopy Index your code
hub / github.com/huggingface/diffusers / remove_handler

Function remove_handler

src/diffusers/utils/logging.py:233–239  ·  view source on GitHub ↗

removes given handler from the HuggingFace Diffusers' root logger.

(handler: logging.Handler)

Source from the content-addressed store, hash-verified

231
232
233def remove_handler(handler: logging.Handler) -> None:
234 """removes given handler from the HuggingFace Diffusers' root logger."""
235
236 _configure_library_root_logger()
237
238 assert handler is not None and handler in _get_library_root_logger().handlers
239 _get_library_root_logger().removeHandler(handler)
240
241
242def disable_propagation() -> None:

Callers

nothing calls this directly

Calls 2

_get_library_root_loggerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…