(self, msg: str)
| 111 | self.logger.error(self._template(caller_info, f"{msg}\n{excStr}")) |
| 112 | |
| 113 | def trace(self, msg: str): |
| 114 | frame = getframeinfo(currentframe().f_back) |
| 115 | caller_info = { |
| 116 | "module": getmodulename(frame.filename), |
| 117 | "filename": frame.filename, |
| 118 | "line": frame.lineno, |
| 119 | "function": frame.function, |
| 120 | } |
| 121 | self.logger.trace(self._template(caller_info, msg)) |
| 122 | |
| 123 | def debug(self, msg: str): |
| 124 | frame = getframeinfo(currentframe().f_back) |