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

Function disable_propagation

diffusers/src/diffusers/utils/logging.py:222–228  ·  view source on GitHub ↗

Disable propagation of the library log outputs. Note that log propagation is disabled by default.

()

Source from the content-addressed store, hash-verified

220
221
222def disable_propagation() -> None:
223 """
224 Disable propagation of the library log outputs. Note that log propagation is disabled by default.
225 """
226
227 _configure_library_root_logger()
228 _get_library_root_logger().propagate = False
229
230
231def enable_propagation() -> None:

Callers

nothing calls this directly

Calls 2

_get_library_root_loggerFunction · 0.85

Tested by

no test coverage detected