MCPcopy Create free account
hub / github.com/OpenBMB/BMTools / enable_propagation

Function enable_propagation

bmtools/utils/logging.py:217–224  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

215
216
217def enable_propagation() -> None:
218 """
219 Enable propagation of the library log outputs. Please disable the HuggingFace Transformers's default handler to
220 prevent double logging if the root logger has been configured.
221 """
222
223 _configure_library_root_logger()
224 _get_library_root_logger().propagate = True
225
226
227def enable_explicit_format() -> None:

Callers

nothing calls this directly

Calls 2

_get_library_root_loggerFunction · 0.85

Tested by

no test coverage detected