-
-
Notifications
You must be signed in to change notification settings - Fork 304
Make logger more compatible #294
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
Make logger more compatible #294
Conversation
|
|
jd
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a fan of this. Loguru not implementing the standard logging interface is their choice but making it paid by every library out there is not an option.
Since in that case, it's not too hard, I'd be ok with this. I'm just worried it'll be broken since there's no test and no easy way to add tests.
|
@Mergifyio update |
|
Command
|
Use
str.formatto complete format string internally, this helpstenacityto be more compatible with other loggers such asloguru.Without this PR the logging shows
tenacity.before_sleep:log_it:41 - Retrying %s in %s seconds as it %s %s.when passing in logger from loguru.