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

Root logger used for logging #163

Open
Hajny25 opened this issue Apr 29, 2023 · 0 comments
Open

Root logger used for logging #163

Hajny25 opened this issue Apr 29, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Hajny25
Copy link

Hajny25 commented Apr 29, 2023

It seems that the root logger is being used, which is considered bad practice for libraries.

Quote from the official docs:

It is strongly advised that you do not log to the root logger in your library. Instead, use a logger with a unique and easily identifiable name, such as the name for your library’s top-level package or module. Logging to the root logger will make it difficult or impossible for the application developer to configure the logging verbosity or handlers of your library as they wish.

@Hajny25 Hajny25 added the bug Something isn't working label Apr 29, 2023
@arenas-guerrero-julian arenas-guerrero-julian self-assigned this May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants