-
Notifications
You must be signed in to change notification settings - Fork 690
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
logging.InjectFields does not work. #701
Comments
taeungshin
changed the title
logging.ExtractFields does not work.
logging.InjectFields does not work.
Apr 5, 2024
Usage examples.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
logging.InjectFields does not work.
// It works.
// grpc_ctxtags.Extract(ctx).Set("grpc.request.test", in.GetMessage())
// Doesn't work.
ctx = logging.InjectFields(ctx, logging.Fields {"grpc.request.test", in.GetMessage()})
Can you give me more details on how to use this?
The text was updated successfully, but these errors were encountered: