MCPcopy Index your code
hub / github.com/python/cpython / BraceMessage

Class BraceMessage

PC/layout/support/logging.py:52–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51
52class BraceMessage:
53 def __init__(self, fmt, *args, **kwargs):
54 self.fmt = fmt
55 self.args = args
56 self.kwargs = kwargs
57
58 def __str__(self):
59 return self.fmt.format(*self.args, **self.kwargs)
60
61
62@public

Callers 5

log_debugFunction · 0.85
log_infoFunction · 0.85
log_warningFunction · 0.85
log_errorFunction · 0.85
log_exceptionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…