Upon doing a quick google search on this... I don’t believe logic can export to a lossless file format.

The best I may be able to do is a very high quality wav export bud