I believe proper recordings will always be from a mic'd speaker, because the speaker itself contributes to the sound, as does the mic, and the room etc.
I don't know what it would sound like direct, but you could always try it for the experience.
If you're just messing around with some home recording, I'd probably just record the guitar directly to the computer, and use something like Amplitube to simulate the amp rig (you can get a cut down version for free). It lets you mess around with simulating settings such as amp, cabinet, mic type, mic positions etc. It's not quite as good as the real thing, but it's easier to set up and tweak, and it might give you some insight into setting up the real rig too.