Created
February 8, 2014 16:53
-
-
Save taktran/8886603 to your computer and use it in GitHub Desktop.
Wrap log function
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
// Also see http://www.paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/ | |
var log = function() { | |
if (console) { | |
console.log.apply(this, arguments); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment