Write a section header.
(self, title: str)
| 75 | f.write("\n") |
| 76 | |
| 77 | def section(self, title: str): |
| 78 | """Write a section header.""" |
| 79 | with self._lock: |
| 80 | with open(self.log_file, "a") as f: |
| 81 | f.write(f"\n{'='*60}\n") |
| 82 | f.write(f" {title}\n") |
| 83 | f.write(f"{'='*60}\n\n") |
| 84 | |
| 85 | |
| 86 | # Global debug logger instance |
no test coverage detected