func (l *Logger) StreamInterceptor() grpc.StreamServerInterceptor {
	entry := logrus.NewEntry(l.Logger)
	grpc_logrus.ReplaceGrpcLogger(entry)
	return grpc_logrus.StreamServerInterceptor(entry, l.opts...)
}
StreamInterceptor returns an unary server interceptor for gRPC
package log
import (
	"context"
	grpc_logrus "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus"
	"github.com/sirupsen/logrus"
	"google.golang.org/grpc"
)
type Fields = logrus.Fields
type Logger struct {
	*logrus.Logger
	opts []grpc_logrus.Option
}
func New() *Logger {
	logger := logrus.New()
	logger.SetFormatter(&logrus.JSONFormatter{})
	return &Logger{
		Logger: logger,
		opts:   nil,
	}
}
func (l *Logger) UnaryInterceptor() grpc.UnaryServerInterceptor {
	entry := logrus.NewEntry(l.Logger)
	grpc_logrus.ReplaceGrpcLogger(entry)
	return grpc_logrus.UnaryServerInterceptor(entry, l.opts...)
}