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

The AddGlobalFields function fails after using the integrated zap component zapx as a writer #4398

Open
smx-Morgan opened this issue Sep 28, 2024 · 0 comments
Assignees

Comments

@smx-Morgan
Copy link

smx-Morgan commented Sep 28, 2024

The AddGlobalFields function failed to set the global value after using zero contrib
This is my code, written based on example. (If zapx is not used as a writer, the global value will be corrected)
go-zerolog
The obtained result does not have a global value
The case of zapx does not include AddGlobalFields. How can I set the global feild using zapx?

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

No branches or pull requests

2 participants