gmdrec icon indicating copy to clipboard operation
gmdrec copied to clipboard

Introduce logging

Open fijam opened this issue 2 years ago • 2 comments

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

fijam avatar May 09 '22 21:05 fijam

finishing this will require a bit of a refactor

fijam avatar May 10 '22 20:05 fijam

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.

fijam avatar May 12 '22 05:05 fijam