Add support for using zap.Object
varkey98 opened this issue · comments
Varkeychan Jacob commented
Considering how popular zap is, was wondering if zap.ObjectMarshaler can be implemented on the structs created via pb.
Use case(s) - what problem will this feature solve?
As zap.Any uses reflection and is a costly operation, zap.Object would improve performance while logging
Zach Reyes commented
Thank you for the suggestion. Unfortunately, we do not plan to support zap in the future.
Varkeychan Jacob commented
Thank you 😀