Logs messages and optionally the stack trace of the most recent exception. Args: *args: Variable-length argument list to pass to the logger. trace (bool, optional): Whether to log the stack trace of the most recently caught exception. Defaults to False. *
(self, *args, trace=False, **kwargs)
| 1565 | self.trace() |
| 1566 | |
| 1567 | def verbose(self, *args, trace=False, **kwargs): |
| 1568 | """Logs messages and optionally the stack trace of the most recent exception. |
| 1569 | |
| 1570 | Args: |
| 1571 | *args: Variable-length argument list to pass to the logger. |
| 1572 | trace (bool, optional): Whether to log the stack trace of the most recently caught exception. Defaults to False. |
| 1573 | **kwargs: Arbitrary keyword arguments to pass to the logger. |
| 1574 | |
| 1575 | Examples: |
| 1576 | >>> self.verbose("This is a verbose message") |
| 1577 | >>> self.verbose("This is a verbose message with a trace", trace=True) |
| 1578 | """ |
| 1579 | self.log.verbose(*args, extra={"scan_id": self.scan.id}, **kwargs) |
| 1580 | if trace: |
| 1581 | self.trace() |
| 1582 | |
| 1583 | def hugeverbose(self, *args, trace=False, **kwargs): |
| 1584 | """Logs a whole message in emboldened white text, and optionally the stack trace of the most recent exception. |
no test coverage detected