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

Function _reset_library_root_logger

src/diffusers/utils/logging.py:114–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112
113
114def _reset_library_root_logger() -> None:
115 global _default_handler
116
117 with _lock:
118 if not _default_handler:
119 return
120
121 library_root_logger = _get_library_root_logger()
122 library_root_logger.removeHandler(_default_handler)
123 library_root_logger.setLevel(logging.NOTSET)
124 _default_handler = None
125
126
127def get_log_levels_dict() -> dict[str, int]:

Callers

nothing calls this directly

Calls 1

_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…