Is there a way to do something like:
console.log(\"hello world\", \'#FF0000\')
in Chrome/Safari or Firefox ?
This works:
function colorTrace(msg, color) { console.log("%c" + msg, "color:" + color + ";font-weight:bold;"); } colorTrace("Test Me", "red");