MCPcopy Create free account
hub / github.com/SqueezeAILab/LLMCompiler / enable_logging

Function enable_logging

src/utils/logger_utils.py:53–56  ·  view source on GitHub ↗

Toggle logging on or off based on the given argument.

(enable=True)

Source from the content-addressed store, hash-verified

51
52
53def enable_logging(enable=True):
54 """Toggle logging on or off based on the given argument."""
55 global LOG_ENABLED
56 LOG_ENABLED = enable
57
58
59def log(*args, block=False, **kwargs):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected