ID EN
Logging

captureWarnings

Python 3.11

This function is used to turn the capture of warnings by logging on and off.

Syntax

PYTHON
logging.captureWarnings(capture)

See Also

warnings warnings.formatwarning() WARNING