summaryrefslogtreecommitdiffstats
path: root/Lib/logging/handlers.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2010-09-21 11:25:39 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2010-09-21 11:25:39 (GMT)
commitc84f01698874902863396e82a248f5fd6ec59d0e (patch)
treeff6f8d60ab21f6aeb1d4ca5c35ba4555b5e697bf /Lib/logging/handlers.py
parentceff5668864f319d05a781e8eef591b014ae2751 (diff)
downloadcpython-c84f01698874902863396e82a248f5fd6ec59d0e.zip
cpython-c84f01698874902863396e82a248f5fd6ec59d0e.tar.gz
cpython-c84f01698874902863396e82a248f5fd6ec59d0e.tar.bz2
Added some methods to LoggerAdapter, and updated documentation.
Diffstat (limited to 'Lib/logging/handlers.py')
-rw-r--r--Lib/logging/handlers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/logging/handlers.py b/Lib/logging/handlers.py
index 744f59b..ce0673d 100644
--- a/Lib/logging/handlers.py
+++ b/Lib/logging/handlers.py
@@ -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: