title: Get console history
body: <p>I'd like to know if there is a way in javascript to retrieve console history.</p>
  
  <p>What I mean by console history is what appears in the dev tools console.
  For instance, I'd like to print in a html page all errors, warnings, info and log that are displayed in my dev tools without opening them.</p>
  
  <p>Let me know if I'm not clear.</p>