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

Function disable_propagation

bmtools/utils/logging.py:208–214  ·  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

206
207
208def disable_propagation() -> None:
209 """
210 Disable propagation of the library log outputs. Note that log propagation is disabled by default.
211 """
212
213 _configure_library_root_logger()
214 _get_library_root_logger().propagate = False
215
216
217def enable_propagation() -> None:

Callers

nothing calls this directly

Calls 2

_get_library_root_loggerFunction · 0.85

Tested by

no test coverage detected