This series primarily converts all of the remaining print calls to logging calls, creating a LOG object in each module if necessary. Once again, I used my best judgement, but others might find that the log message levels need to be adjusted for optimal effectiveness.
It also updates the run_tests to initialize the logger module, as that ensures that handers are set up properly and output is diverted away from the console.
Zachary T Welch (17): Use logging in run_tests (#2347) Use logging in mainapp.py (#2347) Use logging in yaeosu_clone.py (#2347) Use logging in wouxun*.py (#2347) Use logging in vx*.py (#2347) Use logging in uv*.py (#2347) Use logging in drivers/t*.py (#2347) Use logging in rfinder.py (#2347) Use logging in drivers/[lp]*.py (#2347) Use logging in kenwood*.py (#2347) Use logging in drivers/k*.py (#2347) Use logging in idrp.py (#2347) Use logging in ic9x*.py (#2347) Use logging in icf.py (#2347) Use logging in drivers/ft*.py (#2347) Use logging in drivers/[ab]*.py (#2347) Use logging in drivers/[hi]*.py (#2347)
chirp/drivers/alinco.py | 23 +++++++++++--------- chirp/drivers/anytone.py | 30 +++++++++++++------------- chirp/drivers/ap510.py | 11 ++++++---- chirp/drivers/baofeng_uv3r.py | 20 +++++++++++------- chirp/drivers/bjuv55.py | 7 ++++-- chirp/drivers/ft1d.py | 25 +++++++++++----------- chirp/drivers/ft2800.py | 10 ++++----- chirp/drivers/ft50_ll.py | 23 +++++++++++--------- chirp/drivers/ft60.py | 8 +++---- chirp/drivers/ft7800.py | 10 ++++----- chirp/drivers/ft817.py | 8 +++---- chirp/drivers/ft857.py | 2 +- chirp/drivers/ft90.py | 8 +++---- chirp/drivers/ftm350.py | 4 ++-- chirp/drivers/h777.py | 10 ++++----- chirp/drivers/ic9x.py | 16 ++++++++------ chirp/drivers/ic9x_ll.py | 24 ++++++++++++--------- chirp/drivers/icf.py | 48 ++++++++++++++++++++++-------------------- chirp/drivers/icomciv.py | 29 +++++++++++++------------ chirp/drivers/icq7.py | 13 ++++++++---- chirp/drivers/icw32.py | 8 +++++-- chirp/drivers/icx8x.py | 8 +++++-- chirp/drivers/idrp.py | 2 +- chirp/drivers/kenwood_hmk.py | 12 +++++++---- chirp/drivers/kenwood_itm.py | 12 +++++++---- chirp/drivers/kenwood_live.py | 16 +++++++------- chirp/drivers/kguv8d.py | 11 +++++----- chirp/drivers/kyd.py | 20 +++++++++--------- chirp/drivers/leixen.py | 34 +++++++++++++++++------------- chirp/drivers/puxing.py | 16 ++++++++------ chirp/drivers/rfinder.py | 27 ++++++++++++------------ chirp/drivers/th9800.py | 14 ++++++------ chirp/drivers/th_uv3r.py | 5 ++++- chirp/drivers/th_uvf8d.py | 8 ++++--- chirp/drivers/thd72.py | 10 ++++----- chirp/drivers/thuv1f.py | 11 ++++++---- chirp/drivers/tk8102.py | 8 +++---- chirp/drivers/tmv71.py | 5 ++++- chirp/drivers/tmv71_ll.py | 6 +++--- chirp/drivers/uv5r.py | 47 ++++++++++++++++++++--------------------- chirp/drivers/uvb5.py | 21 ++++++++++-------- chirp/drivers/vx2.py | 2 +- chirp/drivers/vx3.py | 2 +- chirp/drivers/vx5.py | 3 ++- chirp/drivers/vx7.py | 7 ++++-- chirp/drivers/vx8.py | 19 ++++++++--------- chirp/drivers/vxa700.py | 12 +++++------ chirp/drivers/wouxun.py | 32 +++++++++++++++------------- chirp/drivers/wouxun_common.py | 2 +- chirp/drivers/yaesu_clone.py | 14 ++++++------ chirp/ui/mainapp.py | 41 +++++++++++++++++------------------- tests/run_tests | 11 ++++++++++ 52 files changed, 426 insertions(+), 349 deletions(-)