Skip to content

Allow .getLogger() with no args #38

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

Closed
dhalbert opened this issue Jul 21, 2022 · 0 comments · Fixed by #40
Closed

Allow .getLogger() with no args #38

dhalbert opened this issue Jul 21, 2022 · 0 comments · Fixed by #40
Assignees

Comments

@dhalbert
Copy link
Contributor

CPython allows leaving out the name of the logger, to get the root logger:
https://docs.python.org/3/library/logging.html?highlight=logging#logging.getLogger

logging.getLogger(name=None)

Return a logger with the specified name or, if name is None, return a logger which is the root logger of the hierarchy. If specified, the name is typically a dot-separated hierarchical name like ‘a’, ‘a.b’ or ‘a.b.c.d’. Choice of these names is entirely up to the developer who is using logging.

@tekktrik tekktrik self-assigned this Sep 15, 2022
@tekktrik tekktrik linked a pull request Sep 29, 2022 that will close this issue
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 a pull request may close this issue.

2 participants