Created
July 2, 2013 08:22
-
-
Save mshuffett/5907607 to your computer and use it in GitHub Desktop.
Make console.log object accessible.
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
console.oldLog = console.log; | |
console.log = function(value) { | |
console.oldLog(value); | |
window.$log = value; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment