logging.handlers: Add BufferingHandler.buffer (#3402)

Signed-off-by: Nikola Forró <nforro@redhat.com>
This commit is contained in:
Nikola Forró
2019-10-23 14:33:06 +02:00
committed by Sebastian Rittau
parent ce8d1da5ce
commit 92aa1ee9c2

View File

@@ -170,6 +170,7 @@ class SMTPHandler(Handler):
class BufferingHandler(Handler):
buffer: List[LogRecord]
def __init__(self, capacity: int) -> None: ...
def shouldFlush(self, record: LogRecord) -> bool: ...