LogHelper.capture_warnings#

LogHelper.capture_warnings()[source]#

Capture warnings using logging.

Runs logging.captureWarnings(True) to capture warnings then adds all the handlers from the root logger.

See also

None

Return type:

None