MCPcopy Create free account
hub / github.com/AimRT/AimRT / debug

Function debug

src/runtime/python_runtime/aimrt_py_log.py:13–16  ·  view source on GitHub ↗
(logger, msg)

Source from the content-addressed store, hash-verified

11
12
13def debug(logger, msg):
14 if 1 >= logger.GetLogLevel():
15 info = inspect.getframeinfo(inspect.currentframe().f_back)
16 logger.Log(1, info.lineno, info.filename, info.function, msg, len(msg))
17
18
19def info(logger, msg):

Callers

nothing calls this directly

Calls 2

GetLogLevelMethod · 0.45
LogMethod · 0.45

Tested by

no test coverage detected