Created
December 8, 2015 13:07
-
-
Save learningjs/924bfce9dfba1a459bd7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
//http://www.mybridge.co/view/8462 | |
//Find the important things in complex debugging | |
console.todo = function( msg){ | |
console.log( '%c %s %s %s ', 'color: yellow; background-color: black;', '--', msg, '--'); | |
} | |
console.important = function( msg){ | |
console.log( '%c%s %s %s', 'color: brown; font-weight: bold; text-decoration: underline;', '--', msg, '--'); | |
} | |
console.todo("This is something that's need to be fixed"); | |
console.important('This is an important message'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment