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 instead of prints for debug info #523

Open
StephanAkkerman opened this issue Apr 3, 2024 · 2 comments
Open

Use logging instead of prints for debug info #523

StephanAkkerman opened this issue Apr 3, 2024 · 2 comments
Labels
Difficulty: Easy 😊 This issue can easily be solved, only a few line changes necessary Improvement 📈 Improvement Overhaul 🌈 Overhaul a part of the code Priority: Low 🥉 Assign this label if this issue is used once every few days

Comments

@StephanAkkerman
Copy link
Owner

This makes it look a lot more professional than the current approach

@StephanAkkerman StephanAkkerman added Improvement 📈 Improvement Priority: Low 🥉 Assign this label if this issue is used once every few days Overhaul 🌈 Overhaul a part of the code Difficulty: Easy 😊 This issue can easily be solved, only a few line changes necessary labels Apr 3, 2024
@StephanAkkerman
Copy link
Owner Author

warnings for exceptions that are caught

@StephanAkkerman
Copy link
Owner Author

StephanAkkerman commented May 25, 2024

logging.info for prints and logging.warning for exceptions
logging.debug for more information than logging.info: for instance to print each tweet it processes and all other relevant steps during debugging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty: Easy 😊 This issue can easily be solved, only a few line changes necessary Improvement 📈 Improvement Overhaul 🌈 Overhaul a part of the code Priority: Low 🥉 Assign this label if this issue is used once every few days
Projects
None yet
Development

No branches or pull requests

1 participant