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

Function enable_propagation

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

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

Callers

nothing calls this directly

Calls 2

_get_library_root_loggerFunction · 0.85

Tested by

no test coverage detected