MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / disable_propagation

Function disable_propagation

src/diffusers/utils/logging.py:220–226  ·  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

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

Callers

nothing calls this directly

Calls 2

_get_library_root_loggerFunction · 0.85

Tested by

no test coverage detected