1.0.2 • Published 2 years ago

@sunday9787/log v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@sunday9787/log

美化log日志输出

Install

Using npm:

npm install @sunday9787/log --save

or using yarn:

yarn add @sunday9787/log --dev

Example

特殊类型日志

log('develop', 'env')
log('win32', 'platform')
log('1.0.1', 'version')
log(new Date().toISOString(), 'build')
log('1.0.2', 'build', ['#2196f3', '#e91e63'])

特殊类型日志

自定义 日志输出

log({ label: 'this', message: 'window' }, ['red', '#9c27b0'])

特殊类型日志

1.0.2

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago