Skip to content
Console.log with style.
CSS HTML JavaScript CoffeeScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
site-resources new site Apr 23, 2020
.gitignore
Gruntfile.coffee Node package json and grunt Feb 7, 2014
LICENSE Make #37 but with 2016 end date Feb 1, 2016
README.md
bower.json
component.json v0.3.0 (IE9 compat [#29] and repo cleanup) Aug 6, 2015
index.html new site Apr 23, 2020
log.coffee IE9 compatibility (#29 thanks @dulaccc) Mar 31, 2015
log.js IE9 compatibility (#29 thanks @dulaccc) Mar 31, 2015
log.min.js
package.json
test.html

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 31+ or with Firebug 1.11 beta 2 or later
  • Opera with Blink (15+)
  • Safari Nightly (537.38+)

Screenshot

Implementations

You can’t perform that action at this time.