mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Added some methods to LoggerAdapter, and updated documentation.
This commit is contained in:
parent
ceff566886
commit
c84f016988
5 changed files with 32 additions and 9 deletions
|
@ -1131,6 +1131,8 @@ class MemoryHandler(BufferingHandler):
|
|||
For a MemoryHandler, flushing means just sending the buffered
|
||||
records to the target, if there is one. Override if you want
|
||||
different behaviour.
|
||||
|
||||
The record buffer is also cleared by this operation.
|
||||
"""
|
||||
if self.target:
|
||||
for record in self.buffer:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue