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

34 lines
684 B
Markdown
Raw Permalink Normal View History

2021-10-26 14:18:09 +02:00
# 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)