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

Function enable_propagation

src/diffusers/utils/logging.py:229–236  ·  view source on GitHub ↗

Enable propagation of the library log outputs. Please disable the HuggingFace Diffusers' default handler to prevent double logging if the root logger has been configured.

()

Source from the content-addressed store, hash-verified

227
228
229def enable_propagation() -> None:
230 """
231 Enable propagation of the library log outputs. Please disable the HuggingFace Diffusers' default handler to prevent
232 double logging if the root logger has been configured.
233 """
234
235 _configure_library_root_logger()
236 _get_library_root_logger().propagate = True
237
238
239def enable_explicit_format() -> None:

Callers

nothing calls this directly

Calls 2

_get_library_root_loggerFunction · 0.85

Tested by

no test coverage detected