MCPcopy Create free account
hub / github.com/blacklanternsecurity/bbot / hugeverbose

Method hugeverbose

bbot/modules/base.py:1583–1597  ·  view source on GitHub ↗

Logs a whole message in emboldened white text, 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.

(self, *args, trace=False, **kwargs)

Source from the content-addressed store, hash-verified

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.
1585
1586 Args:
1587 *args: Variable-length argument list to pass to the logger.
1588 trace (bool, optional): Whether to log the stack trace of the most recently caught exception. Defaults to False.
1589 **kwargs: Arbitrary keyword arguments to pass to the logger.
1590
1591 Examples:
1592 >>> self.hugeverbose("This is a huge verbose message")
1593 >>> self.hugeverbose("This is a huge verbose message with a trace", trace=True)
1594 """
1595 self.log.hugeverbose(*args, extra={"scan_id": self.scan.id}, **kwargs)
1596 if trace:
1597 self.trace()
1598
1599 def info(self, *args, trace=False, **kwargs):
1600 """Logs informational messages and optionally the stack trace of the most recent exception.

Callers 1

_spawn_procFunction · 0.45

Calls 1

traceMethod · 0.95

Tested by

no test coverage detected