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 #28

Open
fernandocollova opened this issue Mar 20, 2018 · 0 comments
Open

Use logging module #28

fernandocollova opened this issue Mar 20, 2018 · 0 comments

Comments

@fernandocollova
Copy link

I'll drop the standard bug report format because this is easy:

Instead of if debug then log, using the logging module would be more elegant.

The basic idea is that a different dict config could be loaded just once if debug is set, and logging would just discard any logs that are not at least the minimum level.

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

No branches or pull requests

2 participants