Created
July 10, 2014 15:33
-
-
Save favio41/28e4701ab6bb9ac868b7 to your computer and use it in GitHub Desktop.
client log substitution
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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