Created
May 12, 2015 14:40
-
-
Save shaneriley/4096a7efd72664046046 to your computer and use it in GitHub Desktop.
Comic Sans Log
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.clog = function() { | |
var format = "font: normal 18px 'Comic Sans MS', Chalkboard; color: purple;"; | |
if (arguments.length > 1) { | |
console.log("%c" + arguments[0], format, [].slice.call(arguments, 1)); | |
} | |
else { | |
console.log("%c" + arguments[0], format); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment