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

Method _template

MCSL2Lib/ProgramControllers/logController.py:62–63  ·  view source on GitHub ↗
(self, caller_info, msg)

Source from the content-addressed store, hash-verified

60 return osp.join("MCSL2/Logs", f"MCSL2_{self.time}.log")
61
62 def _template(self, caller_info, msg) -> str:
63 return f"{caller_info['module']}.{caller_info['function']}, at line {caller_info['line']} | {msg}" # noqa: E501
64
65 def info(self, msg: str):
66 frame = getframeinfo(currentframe().f_back)

Callers 7

infoMethod · 0.95
warningMethod · 0.95
successMethod · 0.95
errorMethod · 0.95
traceMethod · 0.95
debugMethod · 0.95
criticalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected