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

Use logging module instead of print warnings #11

Open
alchemyst opened this issue Jan 14, 2016 · 0 comments
Open

Use logging module instead of print warnings #11

alchemyst opened this issue Jan 14, 2016 · 0 comments

Comments

@alchemyst
Copy link
Collaborator

There are a couple of places in the code where print is used to print warnings. The logging module is in the standard library and allows for more fine grained control of user feedback. I recommend all the parts where warnings are printed be replaced by logging.warn(). Most user output which is not nicely formatted (just messages) can be handled this way.

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

1 participant