Add logging.Formatter.formatMessage method (#2850)

This commit is contained in:
Lawrence Chan
2019-03-11 02:46:21 -05:00
committed by Sebastian Rittau
parent 832bf52c28
commit 4856458251

View File

@@ -186,6 +186,7 @@ class Formatter:
def formatTime(self, record: LogRecord, datefmt: str = ...) -> str: ...
def formatException(self, exc_info: _SysExcInfoType) -> str: ...
if sys.version_info >= (3,):
def formatMessage(self, record: LogRecord) -> str: ... # undocumented
def formatStack(self, stack_info: str) -> str: ...