3 ms·
Can someone explain what the technical important point is? It looks to me that console.log is capable of logging not just plain text, but even images (they inlu
by atesti 13y ago
Can someone explain what the technical important point is? It looks to me that console.log is capable of logging not just plain text, but even images (they inlude data-urls for a github icon). Is it complicated to do this?
Edit: I'll answer my own question:
https://developers.google.com/chrome-developer-tools/docs/console-api#consolelogobject_object https://developers.google.com/chrome-developer-tools/docs/co...
They use the %c control character in the log message to emit css, including embedded icons