Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « logging » Python 3.11.3

Fonction shutdown - module logging

Signature de la fonction shutdown

def shutdown(handlerList=[<weakref at 0x7f720e0d7560; to '_StderrHandler' at 0x7f720e0fce90>, <weakref at 0x7f719f47e5c0; to 'StreamHandler' at 0x7f719f489550>, <weakref at 0x7f719dcbae30; to 'NullHandler' at 0x7f719dbfec10>, <weakref at 0x7f719dafe3e0; to 'NullHandler' at 0x7f719daeb490>]) 

Description

help(logging.shutdown)

    Perform any cleanup actions in the logging system (e.g. flushing
    buffers).

    Should be called at application exit.