(self)
| 40 | return self._path |
| 41 | |
| 42 | def clear_log(self): |
| 43 | if os.path.isfile(self.path): |
| 44 | os.truncate(self.path, 0) |
| 45 | self._start_pos = self._recent_pos = 0 |
| 46 | self._recent_errors = [] |
| 47 | self._recent_warnings = [] |
| 48 | self._caught_errors = set() |
| 49 | self._caught_warnings = set() |
| 50 | self._caught_matches = set() |
| 51 | |
| 52 | def _lookup_matches(self, line: str, matches: List[str]) -> bool: |
| 53 | for m in matches: |
no outgoing calls