biofriction-wp-theme/node_modules/logalot/README.md

34 lines
684 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# logalot [![Build Status](http://img.shields.io/travis/imagemin/logalot.svg?style=flat)](https://travis-ci.org/imagemin/logalot)
> Tiny log utility
## Install
```sh
$ npm install --save logalot
```
## Usage
```js
var log = require('logalot');
log.info('this is a message');
log.warn('this is a warning');
log.success('this is a success message');
log.error(new Error('this is a error').stack);
/*
this is a message
⚠ this is a warning
✔ this is a success message
✖ Error: this is an error
at ChildProcess.exithandler (child_process.js:648:15)
at ChildProcess.emit (events.js:98:17)
*/
```
## License
MIT © [imagemin](https://github.com/imagemin)