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

Setting debug level prints to console #58

Closed
politeauthority opened this issue Aug 10, 2017 · 3 comments
Closed

Setting debug level prints to console #58

politeauthority opened this issue Aug 10, 2017 · 3 comments

Comments

@politeauthority
Copy link

Is it possible to remove the "Debug mode is off." print statement in the console on line 42/ 49 or dicttoxml.py. I really like this module, but pride myself on not having random print statements to the console. I'm using a ton of other modules in conjunction with dicttoxml and this print statement just ends up being confusing and unnecessary. I can make a PR for this if it helps at all. Thanks!

@andreibancioiu
Copy link

import logging
import dicttoxml

dicttoxml.LOG.setLevel(logging.ERROR)

@chintanvadgama
Copy link

Hi,

Thanks a lot for the fix!

@quandyfactory
Copy link
Owner

This issue is fixed in version 1.7.7.

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

4 participants