-
Notifications
You must be signed in to change notification settings - Fork 29
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
Allow to set verbosity level of get_download #78
Comments
Sure, sounds good to set it package wide. Any best practice for doing that? |
there are many packages to handle this nicely, but common practice seems still using |
thanks, some other notes |
- this allows users to set the loggin level - and allows users to turn off or turn on logging messages - bump patch version for the change
@faroit can you reinstall and try again?
those two methods were the only ones to use print statements, changed to logging now |
@sckott thanks a lot. I tried them and it works as advertised 👍 |
download_get
produces print statements that users might want to hide if they:e.g.
Download file size: 984374 bytes On disk at /var/folders/4p/m3ccc38s0fg5b3c0zb1mdpph0000gn/T/tmpkzsf605i/0117522-200613084148143.zip
Maybe a
verbose=False
flag would be suffucient here? Ideally, there would be consistent usage oflogging
to set this package-wide.Let me know what you think
The text was updated successfully, but these errors were encountered: