Recently I logged into my FB account on Chrome Browser. When I opened the developer tools, I saw something like this:

Now I know that it is possible to add anything to console using the javascript console.log function. But my question is -- how did they add style to the text? E.g. "Stop!" is written in red tahoma font with black border and larger size. How did they do it?