gmdrec
gmdrec copied to clipboard
Introduce logging
Some of the messages printed are too verbose. Move some of them to a logging facility, and expose an argument to display them (or save to a log file).
Initial work in https://github.com/fijam/gmdrec/commit/5e360340eb5b0a2d45aa664998eeba67d2fa4ec1
finishing this will require a bit of a refactor
There is a bit of a chicken-egg problem... we are loading hardware before main() to avoid #4 and hardware imports logging, so we would need to do logging.basicConfig before that - which works, but isn't pretty.