title: iojs/electron - Output all in console to file
body: <p>I'm currently building an application in Electron which is at the moment using iojs 2.3.1, and what I'd like to do is output anything and everything that prints out in the dev tools console to file.</p>
  
  <p>In the earlier versions of node this used to be available by piping from stdout/stderr, this is no longer possible and I can't for the life of me find a solution that works and doesn't involve changing large amounts of code.</p>
  
  <p>Does anyone have a working solution for this? Thanks!</p>