diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 |
commit | cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch) | |
tree | 92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/gulplog/README.md | |
parent | 3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff) |
remove node_modules
Diffstat (limited to 'node_modules/gulplog/README.md')
-rw-r--r-- | node_modules/gulplog/README.md | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/node_modules/gulplog/README.md b/node_modules/gulplog/README.md deleted file mode 100644 index 484e939e4..000000000 --- a/node_modules/gulplog/README.md +++ /dev/null @@ -1,79 +0,0 @@ -<p align="center"> - <a href="http://gulpjs.com"> - <img height="257" width="114" src="https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png"> - </a> -</p> - -# gulplog - -[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Gitter chat][gitter-image]][gitter-url] - -Logger for gulp and gulp plugins - -## Usage - -```js -var logger = require('gulplog'); - -// logs strings -logger.debug('The MOST verbose!'); -logger.info('Some important info'); -logger.warn('All the warnings to you'); -logger.error('OH NO! SOMETHING HAPPENED!'); - -// supports util.format! -logger.info('%s style!', 'printf'); - -// log anything -logger.debug({ my: 'obj' }); -logger.info([1, 2, 3]); -``` - -## API - -Logging (and level of logging) is controlled by [`gulp-cli`][gulp-cli-url] - -#### logger.debug(msg) - -Highest log level. Typically used for debugging purposes. - -If the first argument is a string, all arguments are passed to node's -[`util.format()`][util-format-url] before being emitted. - -#### logger.info(msg) - -Standard log level. Typically used for user information. - -If the first argument is a string, all arguments are passed to node's -[`util.format()`][util-format-url] before being emitted. - -#### logger.warn(msg) - -Warning log level. Typically used for warnings. - -If the first argument is a string, all arguments are passed to node's -[`util.format()`][util-format-url] before being emitted. - -#### logger.error(msg) - -Error log level. Typically used when things went horribly wrong. - -If the first argument is a string, all arguments are passed to node's -[`util.format()`][util-format-url] before being emitted. - -## License - -MIT - -[downloads-image]: http://img.shields.io/npm/dm/gulplog.svg -[npm-url]: https://npmjs.org/package/gulplog -[npm-image]: http://img.shields.io/npm/v/gulplog.svg - -[travis-url]: https://travis-ci.org/gulpjs/gulplog -[travis-image]: http://img.shields.io/travis/gulpjs/gulplog.svg - -[gitter-url]: https://gitter.im/gulpjs/gulp -[gitter-image]: https://badges.gitter.im/gulpjs/gulp.png - -[gulp-cli-url]: https://github.com/gulpjs/gulp-cli -[util-format-url]: https://nodejs.org/docs/latest/api/util.html#util_util_format_format |