Skip to content

Instantly share code, notes, and snippets.

@tal
Created March 13, 2012 18:09
Show Gist options
  • Select an option

  • Save tal/2030370 to your computer and use it in GitHub Desktop.

Select an option

Save tal/2030370 to your computer and use it in GitHub Desktop.
console.originalLog = console.log;
console.log = function() {
console.log.history = console.log.history || [];
console.log.history.push(arguments);
console.originalLog.apply(null,arguments);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment