Microphone and cabinet are the way to go, I don't think there are many line outs that sound so great.
Microphone always sounds better for recording or live.
For recording
I will put the cabinet in a room, and crank the amp up...
Then I will mic the room, a distance away from the cabinet.
I will get some wall reflections / room acoustics into the microphone.
Or I will put the amp in a tiled bathroom.
As opposed to micing the cabinet close up....
But I think that "line out" is really only useful for clean, and it sucks for distortion.
So using a combo of line out for clean and microphone on cabinet, you can get a pretty usable range.
Like for example using the clean line out to drive reverb from the mixer effects buss...
And so a clean reverb blended with distortion from the cabinet mic...