fancy-log / 1.2.0 last updated 5 months ago created on Sep 7th 2015
Install
npm install --save fancy-log
Clone
git clone git@github.com:phated/fancy-log.git
dependencies
show all 9
| main |
|
chalk | 1.1.3 | MIT |
|
|
time-stamp | 1.0.1 | MIT |
maintainers
versions
| 1.2.0 | 5 months ago | phated |
| 1.1.0 | 9 months ago | phated |
| 1.0.0 | 10 months ago | phated |
readme
fancy-log
Log things, prefixed with a timestamp
This module was pulled out of gulp-util for use inside the CLI
Usage
API
log(msg...)
Logs the message as if you called console.log but prefixes the output with the
current time in HH:MM:ss format.
log.error(msg...)
Logs ths message as if you called console.error but prefixes the output with the
current time in HH:MM:ss format.
License
MIT