picologging icon indicating copy to clipboard operation
picologging copied to clipboard

logging.captureWarnings isn't supported

Open pamelafox opened this issue 2 years ago • 0 comments

The logging module has an interesting interaction with the warnings module via logger.captureWarnings: https://docs.python.org/3/library/logging.html#integration-with-the-warnings-module

You can see its implementation here: https://github.com/python/cpython/blob/main/Lib/logging/init.py#L2338

picologging does not support it. Limitation or bug?

pamelafox avatar Sep 24 '22 21:09 pamelafox