unified logging
Opened this issue · 2 comments
amidvidy commented
The codebase has ad hoc print statements and various LOGDEBUG type functions sprinkled throughout. It would be better to have a unified logging system with log levels (INFO, DEBUG, WARN) based on the python logging module. This will also help with debugging user issues once ngcccbase is more widely used by nontechnical folks.
killerstorm commented
How do we make logger object available everywhere?
amidvidy commented
see the first example here: http://docs.python.org/2/howto/logging-cookbook.html