I think in certain settings, it would be useful to redirect the progress bar/percentage to a log file (for example, if we are running scripts remotely and don't want to maintain a screen session.
An optional argument could be added that accepts a valid file path, e.g.,
ProgBar(..., logfile='path/to/logfile.log')
ProgPercent(..., logfile='path/to/logfile.log')