zap
zap copied to clipboard
[Feature] zapgrpc.Logger implements Experimental DepthLoggerV2
https://github.com/uber-go/zap/issues/1267
https://github.com/grpc/grpc-go/blob/5e587344eef8aaa06ebf76ee1997013b3a8fbed0/grpclog/loggerv2.go#L240
and fix verbosity https://github.com/grpc-ecosystem/go-grpc-middleware/pull/452
@forsaken628 thanks for the submission, do you have any additional info on why this is needed on Zap's side? The issue you created doesn't have most of its fields filled out properly.
The current zapgrpc package is poorly maintained and outdated. This PR just fills in the parts that this package should have. Or zapgrpc should be marked as deprecated.
Any updates on this? It definitely looks like zapgrpc package is outdated compared to grpc-go-middleware past version, the grpclog verbosity level variable GRPC_GO_LOG_VERBOSITY_LEVEL currently does not seem to be working at all.