DEV Community

Cover image for Very easy customizing console.log with CSS
Matheus Maximiliano
Matheus Maximiliano

Posted on

1

Very easy customizing console.log with CSS

welcome and today we going customizing our console.log with css, and YES IS POSSIBLE!

I don't know about you, but I love use console.log for debugging my codes, is very fast for me, and its not a problem, most peoples coming with the talk, "whos use console.log for debugging code, never going be a senior developer". But surprise I'm a senior and use console.log.

But this talk is for a another day.

Today let's customizing our console.log, and its very easy, you just place before your text in console a %c and done.

Now you create and customizing your console with this mode.

code

.
.
.
.
.
From post in PT-BR
Instagram: @imatheus.max
Post: https://www.instagram.com/p/Cdq4JFiMcnt/

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay