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

Class Message

Lib/test/test_logging.py:6079–6085  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6077
6078
6079class Message:
6080 def __init__(self, fmt, args):
6081 self.fmt = fmt
6082 self.args = args
6083
6084 def __str__(self):
6085 return self.fmt.format(*self.args)
6086
6087
6088class StyleAdapter(logging.LoggerAdapter):

Callers 1

logMethod · 0.70

Calls

no outgoing calls

Tested by 1

logMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…