MCPcopy Index your code
hub / github.com/blacklanternsecurity/bbot / verbose

Method verbose

bbot/modules/base.py:1567–1581  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers 15

cycle_api_keyMethod · 0.95
_handle_batchMethod · 0.95
api_requestMethod · 0.95
api_page_iterMethod · 0.95
log_tableMethod · 0.95
_mainFunction · 0.45
handle_keyboard_inputFunction · 0.45
queryMethod · 0.45
queryMethod · 0.45
handle_eventMethod · 0.45
finishMethod · 0.45
setupMethod · 0.45

Calls 1

traceMethod · 0.95

Tested by

no test coverage detected