log-with-style
v0.3.0
Published
Console.log with style
Downloads
965
Readme
Log
Console.log with style
Demo
Features
- Safely call
log
(instead ofconsole.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`')
- italic —
- Use a custom syntax to style text however you want:
log('this is [c="color: red"]red[c]')
.
Installation
The easiest way to add log
to a website is with Eager.
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
- Ruby on Rails — https://github.com/vlado/rails_javascript_log