You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 684B

123456789101112131415161718192021222324252627282930313233
  1. # logalot [![Build Status](http://img.shields.io/travis/imagemin/logalot.svg?style=flat)](https://travis-ci.org/imagemin/logalot)
  2. > Tiny log utility
  3. ## Install
  4. ```sh
  5. $ npm install --save logalot
  6. ```
  7. ## Usage
  8. ```js
  9. var log = require('logalot');
  10. log.info('this is a message');
  11. log.warn('this is a warning');
  12. log.success('this is a success message');
  13. log.error(new Error('this is a error').stack);
  14. /*
  15. ℹ this is a message
  16. ⚠ this is a warning
  17. ✔ this is a success message
  18. ✖ Error: this is an error
  19. at ChildProcess.exithandler (child_process.js:648:15)
  20. at ChildProcess.emit (events.js:98:17)
  21. */
  22. ```
  23. ## License
  24. MIT © [imagemin](https://github.com/imagemin)