Chain lock or U lock with auxiliary cable?

I want to get a lock to replace my folding lock and I’m wondering whether I should go with a U lock and auxiliary cable to secure my frame and wheels or a chain lock and secure it as shown in the image for convenience.

I want to get a lock to replace my folding lock and I’m wondering whether I should go with a U lock and auxiliary cable to secure my frame and wheels or a chain lock and secure it as shown in the image for convenience.