(self, 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) |
| 67 | caller_info = { |
| 68 | "module": getmodulename(frame.filename), |
| 69 | "filename": frame.filename, |
| 70 | "line": frame.lineno, |
| 71 | "function": frame.function, |
| 72 | } |
| 73 | self.logger.info(self._template(caller_info, msg)) |
| 74 | |
| 75 | def warning(self, msg: str): |
| 76 | frame = getframeinfo(currentframe().f_back) |
no test coverage detected