func ToContext(ctx context.Context, logger *zap.Logger) context.Context {
	return ctxzap.ToContext(ctx, logger)
}
ToContext adds the zap.Logger to the context for extraction later.
Returning the new context that has been created.
Deprecated: use ctxzap.ToContext
package ctx_zap
import (
	"context"
	"github.com/grpc-ecosystem/go-grpc-middleware/logging/zap/ctxzap"
	"go.uber.org/zap"
	"go.uber.org/zap/zapcore"
)
func AddFields(ctx context.Context, fields ...zapcore.Field) {
	ctxzap.AddFields(ctx, fields...)
}
func Extract(ctx context.Context) *zap.Logger {
	return ctxzap.Extract(ctx)
}
func TagsToFields(ctx context.Context) []zapcore.Field {
	return ctxzap.TagsToFields(ctx)
}