python-github-backup
python-github-backup copied to clipboard
Refactor logging and add support for quiet flag
trafficstars
- Replace local
log_infoandlog_warningfunctions with a moduleloggerandlogger.info/logger.warning - Add support for
--quietflag by setting the level on the logger - Resolves #190
- This also does a little bit of setup for #182 as a module logger would be required to set different log handlers for different log levels
Any thoughts on this change?
Mind making this log-level instead, like in #199?
Mind making this
log-levelinstead, like in #199?
Yeah I can make that change. Thanks!
Mind rebasing?
I apologize for abandoning this - thank you to everyone who got it across the finish line!