How to style console logs: Color and more! #DevToolsTips

10 642
7.4
Следующее
Популярные
84 дня – 3 9120:32
Where are passkeys stored?
164 дня – 4 838 6771:05
Join Baseline Tooling Hackathon
Опубликовано 24 апреля 2025, 16:00
Tired of boring, monochrome console logs? In this video, Jecelyn and Matthias demonstrate powerful techniques to style your console messages with color, formatting, and more. We'll cover everything from simple CSS styling within the console to advanced ANSI escape sequences, allowing you to create visually distinct and informative logs.

Chapters:
0:00 Intro
0:43 Format integer value
0:57 Format float value
1:03 Format string value
1:08 Format object
1:13 Format HTML element
1:30 Style logs with CSS
1:58 Style logs with ANSI escape sequences
2:09 Style logs with base64 background-image

Resources:
Format and style messages in the Console → goo.gle/devtools-console-forma...

Connect with us:
Jecelyn Yeen: bit.ly/jecfish
Matthias Rohmer: bit.ly/mrohmer


Watch more DevTools Tips → goo.gle/DevToolsTips
Subscribe to Chrome for Developers → goo.gle/ChromeDevs

#DevToolTips #ChromeForDevelopers #Chrome

Speakers: Jecelyn Yeen, Matthias Rohmer
Products Mentioned: Chrome DevTools
автотехномузыкадетское