Skip to content

Commit

Permalink
Docs: Document usage and API
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Nov 29, 2018
1 parent b7d2c54 commit 621089a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,24 @@
# fancy-log
Log things, prefixed with a timestamp

__This module was pulled out of gulp-util for use inside the CLI__

## Usage

```js
var log = require('fancy-log');

log('a message');
// [16:27:02] a message
```

## 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.

## License

MIT

0 comments on commit 621089a

Please sign in to comment.