Console.log with style
Pull request Compare This branch is 46 commits behind adamschwartz:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
log.coffee
log.js

README.md

Log

Console.log with style

Demo

Features

  • Safely call log (instead of console.log) in any browser.
  • Use markdown syntax for quick formatting:
    • italiclog('this is *italic*')
    • boldlog('this word _bold_')
    • codelog('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 with Firebug
  • Safari Nightly (537.38+)

Screenshot

Implementations