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

put print()s inside "if self.verbose:" blocks #17

Open
gerrrg opened this issue Jan 18, 2022 · 1 comment
Open

put print()s inside "if self.verbose:" blocks #17

gerrrg opened this issue Jan 18, 2022 · 1 comment

Comments

@gerrrg
Copy link
Collaborator

gerrrg commented Jan 18, 2022

current prints are excessive, and aren't reliably hidden behind verbose flags

@pygeek
Copy link

pygeek commented Dec 10, 2022

Consider using Python's logging library to distinguish between INFO and DEBUG logging instead—this would allow developers to determine which log level is appropriate for their needs, it would also allow developers to route this library's logs to a specific handler (ie: file handler) rather than stdout. https://docs.python.org/3/howto/logging.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