For intercepting console.* method output and saving it, plus a shorthand `log` function