Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@benniekiss
Copy link
Contributor

This PR switches to using module level logging instead of logging directly to the root logger. This makes it cleaner to use this package within other python packages and scripts.

It removes the _logger.py file since it became unused.

The example scripts still log directly to the root logger since they are user-facing, so users should still see console output.

@absadiki
Copy link
Owner

absadiki commented Nov 7, 2024

True, module level logging is better.
Thanks @benniekiss for the contribution :)

@absadiki absadiki merged commit 6f7cfc6 into absadiki:main Nov 7, 2024
12 of 14 checks passed
@benniekiss benniekiss deleted the better_logging branch July 5, 2025 16:22
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

Successfully merging this pull request may close these issues.

2 participants