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 setLogRecordFactory - module logging

Signature de la fonction setLogRecordFactory

def setLogRecordFactory(factory) 

Description

help(logging.setLogRecordFactory)

    Set the factory to be used when instantiating a log record.

    :param factory: A callable which will be called to instantiate
    a log record.