MCPcopy
hub / github.com/tornadoweb/tornado / log_message

Method log_message

tornado/web.py:2575–2581  ·  view source on GitHub ↗

A backwards compatible way of accessing log_message.

(self)

Source from the content-addressed store, hash-verified

2573
2574 @property
2575 def log_message(self) -> Optional[str]:
2576 """
2577 A backwards compatible way of accessing log_message.
2578 """
2579 if self._log_message and not self.args:
2580 return self._log_message.replace("%", "%%")
2581 return self._log_message
2582
2583 def get_message(self) -> Optional[str]:
2584 if self._log_message and self.args:

Callers

nothing calls this directly

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected