go-zero icon indicating copy to clipboard operation
go-zero copied to clipboard

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

Open smx-Morgan opened this issue 1 year ago • 0 comments

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?

smx-Morgan avatar Sep 28 '24 07:09 smx-Morgan