set_log_level

sofia_redux.toolkit.utilities.fits.set_log_level(level)[source]

Context manager to temporarily set the log level.

Parameters:
levelstr or int

Logging level as defined in the logging module.