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

feat(logging): Add (*Logger). StandardLoggerFromTemplate() method. #7261

Merged
merged 11 commits into from
Jan 26, 2023

Conversation

tang-fh
Copy link
Contributor

@tang-fh tang-fh commented Jan 16, 2023

This method is a generalised but more expensive analog of (*Logger).StandardLogger() which takes a prototype Entry struct as argument.

This method is a generalised but more expensive analog of
(*Logger).StandardLogger() which takes as prototype Entry
struct as argument.
@tang-fh tang-fh requested review from a team as code owners January 16, 2023 19:25
@conventional-commit-lint-gcf
Copy link

conventional-commit-lint-gcf bot commented Jan 16, 2023

🤖 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 automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: logging Issues related to the Cloud Logging API. labels Jan 16, 2023
StandardLogger() is cheaper than StandardLoggerFromEntry().
@daniel-sanche
Copy link
Contributor

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

@tang-fh
Copy link
Contributor Author

tang-fh commented Jan 18, 2023

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) .

logging/logging.go Outdated Show resolved Hide resolved
logging/logging_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@daniel-sanche daniel-sanche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@daniel-sanche daniel-sanche changed the title feat(logging): Add (*Logger).StandardLoggerFromEntry() method. feat(logging): Add (*Logger). StandardLoggerFromTemplate() method. Jan 23, 2023
@daniel-sanche daniel-sanche added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 25, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 25, 2023
@daniel-sanche daniel-sanche added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 26, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 26, 2023
@daniel-sanche daniel-sanche added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 26, 2023
@daniel-sanche daniel-sanche enabled auto-merge (squash) January 26, 2023 17:37
@daniel-sanche daniel-sanche merged commit 533ecbb into googleapis:main Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: logging Issues related to the Cloud Logging API. kokoro:force-run Add this label to force Kokoro to re-run the tests. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants