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

Method getMessage

Lib/logging/__init__.py:388–398  ·  view source on GitHub ↗

Return the message for this LogRecord. Return the message for this LogRecord after merging any user-supplied arguments with the message.

(self)

Source from the content-addressed store, hash-verified

386 self.pathname, self.lineno, self.msg)
387
388 def getMessage(self):
389 """
390 Return the message for this LogRecord.
391
392 Return the message for this LogRecord after merging any user-supplied
393 arguments with the message.
394 """
395 msg = str(self.msg)
396 if self.args:
397 msg = msg % self.args
398 return msg
399
400#
401# Determine which class to use when instantiating log records.

Callers 7

formatMethod · 0.45
makePickleMethod · 0.45
_test_logMethod · 0.45
_assert_loggedMethod · 0.45

Calls 1

strFunction · 0.85