func With(ctx context.Context) (context.Context, *Hub) {
	sh := sentry.GetHubFromContext(ctx)
	if sh == nil {
		sh = sentry.CurrentHub()
	}
	sh = sh.Clone()
	ctx = sentry.SetHubOnContext(ctx, sh)

	h := &Hub{sentryHub: sh}
	ctx = context.WithValue(ctx, HubContextKey, h)
	return ctx, h
}
// With attach new hub to context, use a clone of context or current sentry hub.
//
// Use `For` if you are not going to modify sentry scope,
// so we can reuse cached logger.
With attach new hub to context, use a clone of context or current sentry hub.

Use `For` if you are not going to modify sentry scope,
so we can reuse cached logger.
// With attach new hub to context use a clone of context or current sentry hub . // // Use ` For ` if you are not going to modify sentry scope // so we can reuse cached logger .
func With(ctx context.Context) (context.Context, *Hub) {
	sh := sentry.GetHubFromContext(ctx)
	if sh == nil {
		sh = sentry.CurrentHub()
	}
	sh = sh.Clone()
	ctx = sentry.SetHubOnContext(ctx, sh)
	h := &Hub{sentryHub: sh}
	ctx = context.WithValue(ctx, HubContextKey, h)
	return ctx, h
}
func With ( ctx context . Context ) ( context . Context , * Hub ) { sh := sentry . GetHubFromContext ( ctx ) if sh == nil { sh = sentry . CurrentHub ( ) } sh = sh . Clone ( ) ctx = sentry . SetHubOnContext ( ctx , sh ) h := & Hub { sentryHub : sh } ctx = context . WithValue ( ctx , HubContextKey , h ) return ctx , h }
With attach new hub to context, use a clone of context or current sentry hub.
With attach new hub to context use a clone of context or current sentry hub .