MCPcopy Create free account
hub / github.com/MCSLTeam/MCSL2 / warning

Method warning

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

Source from the content-addressed store, hash-verified

73 self.logger.info(self._template(caller_info, msg))
74
75 def warning(self, msg: str):
76 frame = getframeinfo(currentframe().f_back)
77 caller_info = {
78 "module": getmodulename(frame.filename),
79 "filename": frame.filename,
80 "line": frame.lineno,
81 "function": frame.function,
82 }
83 self.logger.warning(self._template(caller_info, msg))
84
85 def success(self, msg: str):
86 frame = getframeinfo(currentframe().f_back)

Callers 15

initializeMCSL2Function · 0.80
wrapperFunction · 0.80
addJavaManuallyMethod · 0.80
addCoreManuallyMethod · 0.80
onDownloadEntryClosedMethod · 0.80
afterInstallingForgeMethod · 0.80
getMCSLSyncCoreBuildsMethod · 0.80

Calls 1

_templateMethod · 0.95

Tested by

no test coverage detected