Skip to content

fix(logger): add With method to logger#742

Open
asms wants to merge 1 commit intomainfrom
asms/logger_with_method
Open

fix(logger): add With method to logger#742
asms wants to merge 1 commit intomainfrom
asms/logger_with_method

Conversation

@asms
Copy link
Copy Markdown
Contributor

@asms asms commented Nov 14, 2025

We can create loggers with logging context, but we can not append to that logging context. Add a With method to loggers to allow creating child loggers with both the parent logging context and additional context.

See: https://github.com/getoutreach/database-provisioning-operator/pull/352#discussion_r2529042776

We can create loggers with logging context, but we can not append to
that logging context. Add a `With` method to loggers to allow creating
child loggers with both the parent logging context and additional
context.
@asms asms requested a review from a team as a code owner November 14, 2025 22:04
Copy link
Copy Markdown
Contributor

@AndrewWinterman AndrewWinterman left a comment

Choose a reason for hiding this comment

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

Can we validate this will work with #740 ? Also can you demo this working in another service?

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

Successfully merging this pull request may close these issues.

2 participants