MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / _reset_library_root_logger

Function _reset_library_root_logger

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

Source from the content-addressed store, hash-verified

94
95
96def _reset_library_root_logger() -> None:
97 global _default_handler
98
99 with _lock:
100 if not _default_handler:
101 return
102
103 library_root_logger = _get_library_root_logger()
104 library_root_logger.removeHandler(_default_handler)
105 library_root_logger.setLevel(logging.NOTSET)
106 _default_handler = None
107
108
109def 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