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

Method debug

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

Source from the content-addressed store, hash-verified

121 self.logger.trace(self._template(caller_info, msg))
122
123 def debug(self, msg: str):
124 frame = getframeinfo(currentframe().f_back)
125 caller_info = {
126 "module": getmodulename(frame.filename),
127 "filename": frame.filename,
128 "line": frame.lineno,
129 "function": frame.function,
130 }
131 self.logger.debug(self._template(caller_info, msg))
132
133 def critical(self, exc: Optional[Exception] = None, msg: Optional[str] = ""):
134 frame = getframeinfo(currentframe().f_back)

Callers 4

asyncInstallMethod · 0.80
asyncInstallMethod · 0.80
_update_progressMethod · 0.80
_emit_speed_infoMethod · 0.80

Calls 1

_templateMethod · 0.95

Tested by

no test coverage detected