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

Point of AppLogger? #6

Open
zmarffy opened this issue Mar 26, 2024 · 1 comment
Open

Point of AppLogger? #6

zmarffy opened this issue Mar 26, 2024 · 1 comment

Comments

@zmarffy
Copy link

zmarffy commented Mar 26, 2024

Why do logger = utils.AppLogger.__call__().get_logger()? This could be logger = utils.AppLogger().get_logger(), or maybe even easier, just logger = logging.getLogger(__name__). Am I missing something?

@petrgazarov
Copy link
Owner

you're right, the .__call__ part is redundant

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

No branches or pull requests

2 participants