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 module level based logger instead of root logger #4

Merged
merged 2 commits into from
Jan 27, 2023
Merged

use module level based logger instead of root logger #4

merged 2 commits into from
Jan 27, 2023

Conversation

xnetcat
Copy link
Contributor

@xnetcat xnetcat commented Jan 27, 2023

Check commilogging.info creates new root logger if one doesn't exist. This commit uses module level logger instead of the root logger to log messages. This is the common practice used in most libraries, and intended behavior when using a library

I couldn't install project's dependencies because black didn't have a version specified, so I've run `poetry add -D black`
logging.info creates new root logger if one doesn't exist. This commit uses module level logger instead of the root logger to log messages. This is the common practice used in most libraries, and intended behavior when using a library
Copy link
Owner

@moehmeni moehmeni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution

@moehmeni moehmeni merged commit 4eef0c8 into moehmeni:main Jan 27, 2023
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