package fslog import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/zap" "google.golang.org/grpc" ) func GRPCStreamServerLogger() grpc.StreamServerInterceptor { return grpc_zap.StreamServerInterceptor(logger) } func GRPCUnaryServerLogger() grpc.UnaryServerInterceptor { return grpc_zap.UnaryServerInterceptor(logger) }