Skip to content
项目

关于

让 console.log 更有风格。

开发工具

这些数字如何统计

可以做什么

  • Safely call log (instead of console.log) in any browser.
  • italic — log('this is *italic*')
  • bold — log('this word _bold_')
  • code — log('this word `code`')

实测星标增长

24小时
0
7天
-1
15天
-1
1个月
0

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

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:
    • 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

探索相关项目

加载中…