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

Track if logger was lazy or not #7

Merged
merged 5 commits into from
Jul 4, 2020
Merged

Conversation

kornicameister
Copy link
Owner

Adds tracking mechanism for logger's opt method.
Thanks to that it is now possible to detect bad calls to logger that
are lazy and are expecting t.Callable[[], t.Any]

Closes: #6

Adds tracking mechanism for logger's `opt` method.
Thanks to that it is now possible to detect bad calls to logger that
are lazy and are expecting `t.Callable[[], t.Any]`

Closes: #6
@kornicameister
Copy link
Owner Author

@Delgan do you want to wait for @JukkaL or is it fine for you to merge?

@Delgan
Copy link
Collaborator

Delgan commented Jun 27, 2020

@kornicameister I tested it and it seems perfectly fine, congrats for your work!

@kornicameister kornicameister merged commit c93ea9a into master Jul 4, 2020
@kornicameister kornicameister deleted the track_opt_callables branch July 4, 2020 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Figure out possibility of tracking logger objects
2 participants