Chrome - Custom console output with CSS

Another handy feature of the Chrome console is that you can influence the console output with CSS.

This feature is extremely useful in avoiding the overlooking of the important parts when you have a lot of text to display.

console.log("%cA cool line", "color: red; font-size: x-large");

0 Kommentare:

Post a Comment