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

Support nullables in withLoggingContext #173

Merged
merged 1 commit into from
Apr 8, 2021
Merged

Support nullables in withLoggingContext #173

merged 1 commit into from
Apr 8, 2021

Conversation

fdw
Copy link
Contributor

@fdw fdw commented Apr 1, 2021

withLoggingContext now accepts nullable values that won't be written
to the MDC (and thus also don't overwrite existing values).
This might be useful if some values are not guaranteed to exist, but you
want them in the MDC if possible.

Issue: #172

`withLoggingContext` now accepts nullable values that won't be written
to the `MDC` (and thus also don't overwrite existing values).
This might be useful if some values are not guaranteed to exist, but you
want them in the `MDC` if possible.

Issue: #172
@oshai
Copy link
Owner

oshai commented Apr 8, 2021

Thanks for the PR! and sorry for the delay in response.
LGTM.

@oshai oshai merged commit c843f6d into oshai:master Apr 8, 2021
@fdw fdw deleted the nullable-mdc branch April 8, 2021 19:30
@fdw
Copy link
Contributor Author

fdw commented Apr 8, 2021

Thank you!

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