adamschwartz/log

Console.log with style.

HTML

3,006

72 commits

updated Apr 8, 2023

See the code

README

Log

Console.log with style

Demo

Features

  • Safely call log (instead of console.log) in any browser.
  • Use markdown syntax for quick formatting:
    • italic — log('this is *italic*')
    • bold — log('this word _bold_')
    • code — log('this word `code`')
  • Use a custom syntax to style text however you want: log('this is [c="color: red"]red[c]').

Support

Stylized logs are supported in the following browsers:

  • Chrome 26+
  • Firefox 31+ or with Firebug 1.11 beta 2 or later
  • Opera with Blink (15+)
  • Safari Nightly (537.38+)

Screenshot

Implementations

console
devtools
js
log

adamschwartz/log

Console.log with style.

HTML

3,006

72 commits

updated Apr 8, 2023

See the code

README

Log

Console.log with style

Demo

Features

  • Safely call log (instead of console.log) in any browser.
  • Use markdown syntax for quick formatting:
    • italic — log('this is *italic*')
    • bold — log('this word _bold_')
    • code — log('this word `code`')
  • Use a custom syntax to style text however you want: log('this is [c="color: red"]red[c]').

Support

Stylized logs are supported in the following browsers:

  • Chrome 26+
  • Firefox 31+ or with Firebug 1.11 beta 2 or later
  • Opera with Blink (15+)
  • Safari Nightly (537.38+)

Screenshot

Implementations

console
devtools
js
log

Project health

Overall

2.1/10

Maintained

0/10

Code review

1/10
OpenSSF Scorecard

Significant stargazers

(top 24 of 26)

Antonin Décimo

95 followers · starred Apr 2013

Shu Ding

8,328 followers · starred Feb 2022

shinnn

408 followers · starred Apr 2013

Ron Shapiro

392 followers · starred Apr 2013