Skip to content

Instantly share code, notes, and snippets.

@favio41
Created July 10, 2014 15:33
Show Gist options
  • Save favio41/28e4701ab6bb9ac868b7 to your computer and use it in GitHub Desktop.
Save favio41/28e4701ab6bb9ac868b7 to your computer and use it in GitHub Desktop.
client log substitution
var log = Function.prototype.call.bind(console.log, console);
var error = Function.prototype.call.bind(console.error, console);
var info = Function.prototype.call.bind(console.info, console);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment