MCPcopy Index your code
hub / github.com/MCSLTeam/MCSL2 / trace

Method trace

MCSL2Lib/ProgramControllers/logController.py:113–121  ·  view source on GitHub ↗
(self, msg: str)

Source from the content-addressed store, hash-verified

111 self.logger.error(self._template(caller_info, f"{msg}\n{excStr}"))
112
113 def trace(self, msg: str):
114 frame = getframeinfo(currentframe().f_back)
115 caller_info = {
116 "module": getmodulename(frame.filename),
117 "filename": frame.filename,
118 "line": frame.lineno,
119 "function": frame.function,
120 }
121 self.logger.trace(self._template(caller_info, msg))
122
123 def debug(self, msg: str):
124 frame = getframeinfo(currentframe().f_back)

Callers

nothing calls this directly

Calls 1

_templateMethod · 0.95

Tested by

no test coverage detected