MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / enable_debug_log

Function enable_debug_log

imperative/python/megengine/logger.py:230–233  ·  view source on GitHub ↗

r"""Sets logging level to debug for all components.

()

Source from the content-addressed store, hash-verified

228
229
230def enable_debug_log():
231 r"""Sets logging level to debug for all components."""
232 set_log_level(logging.DEBUG)
233 set_mgb_log_level(logging.DEBUG)
234
235
236def call_countlog_func(func, count=1, msg=None):

Callers 1

mainFunction · 0.90

Calls 2

set_mgb_log_levelFunction · 0.85
set_log_levelFunction · 0.70

Tested by

no test coverage detected