Bar

jwst.lib.progress.Bar(*args, log_level=20, log_cutoff=20, **kwargs)[source]

Actually use Bar only if logging level is appropriate.

Parameters:
*argstuple

Positional arguments for the progress.Bar class.

log_levelint

The current log level. Only produce a Bar if the log_level is less than or equal to log_cutoff.

log_cutoffint

Maximum logging level to allow Bar to be created.

**kwargsdict

Keyword arguments for progress.Bar class.