Hi I need some info
I would like to record some guitar riff and bass riff
I know I can use mic to record or the XLR line out I have on both of my amp
wich one is better
First, I would have to ask "What are you recording into?" - MTR, Computer, Tape? Then I'd want to know about your recording space - you won't get any room sound, or speaker loading, if you go direct from the Line Out, but that may be a good thing. There are also USB mics, for recording to your Mac or PC.
In most cases, for a 'live' sound, mic-ing the amp is the classic technique.