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

Function fatal

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

Source from the content-addressed store, hash-verified

35
36
37def fatal(logger, msg):
38 if 5 >= logger.GetLogLevel():
39 info = inspect.getframeinfo(inspect.currentframe().f_back)
40 logger.Log(5, info.lineno, info.filename, info.function, msg, len(msg))

Callers

nothing calls this directly

Calls 2

GetLogLevelMethod · 0.45
LogMethod · 0.45

Tested by

no test coverage detected