mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
logging.handlers: Add BufferingHandler.buffer (#3402)
Signed-off-by: Nikola Forró <nforro@redhat.com>
This commit is contained in:
committed by
Sebastian Rittau
parent
ce8d1da5ce
commit
92aa1ee9c2
@@ -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: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user