bundles / astropy 7.0.1 / astropy / logger / AstropyLogger / enable_exception_logging
function
astropy.logger:AstropyLogger.enable_exception_logging
source: /astropy/logger.py :325
Signature
def enable_exception_logging ( self ) Summary
Enable logging of exceptions.
Extended Summary
Once called, any uncaught exceptions will be emitted with level ERROR by this logger, before being raised.
This can be disabled with disable_exception_logging.
Aliases
-
astropy.logger.AstropyLogger.enable_exception_logging