summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/logging.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index d28d4fa..fa230a0 100644
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -2660,6 +2660,8 @@ data needed by the handler to create the socket::
data = json.dumps(record.__dict__)
self.queue.send(data)
+ def close(self):
+ self.queue.close()
.. _formatter-objects: