After one take is complete, you can simply leave that track record-armed and record again. Logic automatically saves the overdub as an alternate take. Once the second (or third, or fourth, etc.) takes are complete, click the arrow in the upper left-hand corner of the region and all of the alternate takes will expand and show as "stacked". From there, you can select which sections to compile.