Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unified logging #118

Open
amidvidy opened this issue Dec 17, 2013 · 2 comments
Open

unified logging #118

amidvidy opened this issue Dec 17, 2013 · 2 comments

Comments

@amidvidy
Copy link
Contributor

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
Copy link
Contributor

How do we make logger object available everywhere?

@amidvidy
Copy link
Contributor Author

see the first example here: http://docs.python.org/2/howto/logging-cookbook.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants