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

Add context function for any #576

Closed
yangcheng opened this issue Aug 14, 2023 · 2 comments · Fixed by #580
Closed

Add context function for any #576

yangcheng opened this issue Aug 14, 2023 · 2 comments · Fixed by #580

Comments

@yangcheng
Copy link

yangcheng commented Aug 14, 2023

similar to #514
now here is Any in event, need a similar change in context, so log.With() can use any

// before
log.With().Interface("params", p).Msg("charge request")

// after
log.With().Any("params", p).Msg("charge request")

@mitar
Copy link
Contributor

mitar commented Aug 18, 2023

Feel free to make a PR.

@shettyh
Copy link
Contributor

shettyh commented Aug 18, 2023

@rs rs closed this as completed in #580 Aug 18, 2023
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 a pull request may close this issue.

3 participants