Added some methods to LoggerAdapter, and updated documentation.

This commit is contained in:
Vinay Sajip 2010-09-21 11:25:39 +00:00
parent ceff566886
commit c84f016988
5 changed files with 32 additions and 9 deletions

View file

@ -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: