-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat(logging): Add (*Logger). StandardLoggerFromTemplate() method. #7261
Conversation
This method is a generalised but more expensive analog of (*Logger).StandardLogger() which takes as prototype Entry struct as argument.
🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use -- conventional-commit-lint bot |
StandardLogger() is cheaper than StandardLoggerFromEntry().
This PR would have breaking changes over the last release. We need to either change it to keep existing functionality stable, or save it for v2.0.0 |
This wasn't intended to be a breaking change. See my issue comment #7207 (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.
LGTM
This method is a generalised but more expensive analog of (*Logger).StandardLogger() which takes a prototype Entry struct as argument.