We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15fc22f commit 75cf4c9Copy full SHA for 75cf4c9
examples/logging_filehandler.py
@@ -28,3 +28,6 @@
28
29
logger.info("Logger initialized!")
30
logger.debug("You can even add debug statements to the log!")
31
+
32
+# If you're done with the FileHandler, close it
33
+file_handler.close()
0 commit comments