(self, msg: str)
| 83 | self.logger.warning(self._template(caller_info, msg)) |
| 84 | |
| 85 | def success(self, msg: str): |
| 86 | frame = getframeinfo(currentframe().f_back) |
| 87 | caller_info = { |
| 88 | "module": getmodulename(frame.filename), |
| 89 | "filename": frame.filename, |
| 90 | "line": frame.lineno, |
| 91 | "function": frame.function, |
| 92 | } |
| 93 | self.logger.success(self._template(caller_info, msg)) |
| 94 | |
| 95 | def error(self, exc: Optional[Exception] = None, msg: Optional[str] = ""): |
| 96 | frame = getframeinfo(currentframe().f_back) |
no test coverage detected