ID EN
Logging

setLogRecordFactory

Python 3.11 🇮🇩 Bahasa Indonesia

Atur callable yang digunakan untuk membuat LogRecord.

Syntax

PYTHON
logging.setLogRecordFactory(factory)

Arguments

Parameter Deskripsi
factory The factory callable to be used to instantiate a log record.

See Also

LogRecord getLogRecordFactory() LogRecord traceback.print_stack()