(self, type: str, message: str, *args: t.Any)
| 474 | self.log("info", format, *args) |
| 475 | |
| 476 | def log(self, type: str, message: str, *args: t.Any) -> None: |
| 477 | # an IPv6 scoped address contains "%" which breaks logging |
| 478 | address_string = self.address_string().replace("%", "%%") |
| 479 | _log( |
| 480 | type, |
| 481 | f"{address_string} - - [{self.log_date_time_string()}] {message}\n", |
| 482 | *args, |
| 483 | ) |
| 484 | |
| 485 | |
| 486 | def _ansi_style(value: str, *styles: str) -> str: |
no test coverage detected