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

ComposedLoggedValue: single LoggedValue as several LoggedValues on the top-level #1037

Merged
merged 1 commit into from
Nov 17, 2022

Conversation

vagroz
Copy link
Collaborator

@vagroz vagroz commented Nov 14, 2022

ContextMarker allows to provide only single LoggedValue.

Writing ZIO2 logger I faced that I need to collect context (several LoggedValues) from different places (zio-annotations, zio-spans, user-defined context) and put it into ContextMarker. This several logged values (potentially named or constructed from Map[String, A]) must be logged as if they provided in arguments of logging-method.

@FunFunFine FunFunFine merged commit ab5cdd4 into tofu-tf:master Nov 17, 2022
@Odomontois Odomontois added the enhancement New feature or request label Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants