Skip to content

Instantly share code, notes, and snippets.

@learningjs
Created December 8, 2015 13:07
Show Gist options
  • Save learningjs/924bfce9dfba1a459bd7 to your computer and use it in GitHub Desktop.
Save learningjs/924bfce9dfba1a459bd7 to your computer and use it in GitHub Desktop.
//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