MPC and Logic
First thing- if you are new to Logic, you should spend some time in Logic and learn Logic. Logic is a complex software and doing what seems like a simple thing, like recording your MPC, requires that you spend at least some time learning Logic.
Recording the output of your MPC requires that you think about 2 things, getting audio into Logic and getting MIDI into Logic. So you will need an audio interface with enough inputs to correspond to the outputs you are using on the MPC and that will record the audio, and you will need a MIDI interface (perhaps your audio interface has MIDI) so that you can synchronize the MPC with Logic and record any sequences you have performed on the MPC.
In Logic you will need to create audio tracks that correspond to the physical ins and out of your MPC and audio interface. So say you are using 4 outputs of the MPC and those outputs are plugged into 4 inputs of the audio interface, you need to create 4 audio tracks in Logic that correspond to them. Then you need to set up Logic to send MIDI clock, and the MPC to recieve MIDI clock, this way 'songs' or sequences on the MPC play back in time. You should have a MIDI 'in' and a MIDI 'out' hooked up between the MPC and the MIDI ports hooked up to your computer. You should also create some MIDI tracks in Logic, it is really nice to have the raw MIDI data generated from the MPC for editing later on.