The legacy way is to utilize the IF-FW/dm mkii card as a slot card on the back of the mixer. You then convert the firewire cable to thunderbolt for input on the Mac. The only issue is a driver to run the IF-FW/dm mkii card on the Mac platform. You can find the latest drivers in this thread...but I'm running an old version MacOS Mohave. The compatibility with newer versions can be tricky...definitely something you want to look into before you buy the IF-FW/dm mkii card for $400-$500.
This card does allow 32 channels to directly input and output to Logic Pro X, which is totally cool.
If sure there is probably another option to utilize the digital out from a IF-AE/DM Expansion Card which would give you 8 digital in and outs. You would need a way to convert the D-Sub pin out to Mac (USB,Thunderbolt).
A lot of great information is in the threads about connecting with the slot cards...
Logic is another beast. You need to make sure that it is internally recognizing the Tascam. To do this, you first need to set up the MIDI controllers in Logic. Go to Logic Pro X, Preferences, General, Control Surfaces, Setup, then add Mackie Controller. More in the threads about this as well.
This is daunting...let me know if you need help. It's the steepest curve to getting started.
Cheers.