mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Document that logging registers shutdown as an atexit handler (GH-12378)
This commit is contained in:
parent
577277f669
commit
3e700e4ca3
1 changed files with 4 additions and 0 deletions
|
@ -1215,6 +1215,10 @@ functions.
|
|||
closing all handlers. This should be called at application exit and no
|
||||
further use of the logging system should be made after this call.
|
||||
|
||||
When the logging module is imported, it registers this function as an exit
|
||||
handler (see :mod:`atexit`), so normally there's no need to do that
|
||||
manually.
|
||||
|
||||
|
||||
.. function:: setLoggerClass(klass)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue