]> granicus.if.org Git - python/commitdiff
Tidied example script.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 14 Sep 2010 06:59:24 +0000 (06:59 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 14 Sep 2010 06:59:24 +0000 (06:59 +0000)
Doc/library/logging.rst

index d28d4fae782367f296e4f2c48b147e0e5fe79f1d..fa230a0b39e3cabb53b14022faaae2cade2b1304 100644 (file)
@@ -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: