There's no way to export messages from the console log in a way that preserves formatting and other metadata. In FF, all you can do is select all, copy, and paste into another file. Chrome lets you skip the copy/paste and can save to a new file directly, but it's still just plain text.
There should be some way to export console logs in a machine-readable way that preserves: