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

Method _color_dbg

imperative/python/megengine/logger.py:38–40  ·  view source on GitHub ↗

r"""Sets the color of message as the debugging type.

(self, msg)

Source from the content-addressed store, hash-verified

36 return "\x1b[34m{}\x1b[0m".format(msg)
37
38 def _color_dbg(self, msg):
39 r"""Sets the color of message as the debugging type."""
40 return "\x1b[36m{}\x1b[0m".format(msg)
41
42 def _color_warn(self, msg):
43 r"""Sets the color of message as the warning type."""

Callers

nothing calls this directly

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected