2.2.0 • Published 2 years ago

gulplog v2.2.0

Weekly downloads
1,554,575
License
MIT
Repository
github
Last release
2 years ago

gulplog

NPM version Downloads Build Status Coveralls Status

Logger for gulp and gulp plugins

Usage

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

logger.debug(msg, ...args)

Highest log level. Typically used for debugging purposes.

If the first argument is a string, all arguments are passed to node's util.format() before being emitted.

If the first argument is not a string, all arguments will be emitted directly.

logger.info(msg, ...args)

Standard log level. Typically used for user information.

If the first argument is a string, all arguments are passed to node's util.format() before being emitted.

If the first argument is not a string, all arguments will be emitted directly.

logger.warn(msg, ...args)

Warning log level. Typically used for warnings.

If the first argument is a string, all arguments are passed to node's util.format() before being emitted.

If the first argument is not a string, all arguments will be emitted directly.

logger.error(msg, ...args)

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() before being emitted.

If the first argument is not a string, all arguments will be emitted directly.

License

MIT

gulp-cligulp-util@siiron/sds-icons@vchangal/devkit@alotool/bloggerpack@anho/circleci-orb-tools@alotool/alotool-clipanqibao@infinitebrahmanuniverse/nolb-gulpl@everything-registry/sub-chunk-1814winston-gulplogwed_developertempgulp4-clivideo-multi-uploaderjeuxuihuddlergulp-pipe-buildergulp-jspm-buildergulp-load-pluginsgulp-chefgulp-ccr-each-dirgulp-ccr-watchgulp-prettyerrorgulp-reinstallgulp-require-html-inlinegulp-cli.buildgulp-cli4gulp-clapgulp-file2qrgulp-butternutgulp-bower-flattengulp-gitstagegulp-intermediate2hendo-clihendo-cli-luozheaogulp-wpgulp-tm-uglifyh5-templetehcm-jsgulp-packages-buildergulp-server-livereloadgulp-smart-debiangulp-uglifygulp-uglify-chylvinagulp-static-webgulp-toolbox-pipe-coverage-istanbulgulp-toolbox-registrygulp-toolbox-reporter-coverallsgulp4-ing-cligulp-uri-qrcodegulp-webpack-taskluqin-gram-dev-serverlynchburgmeblogm2m-chartjs-plugin-crosshair@wiajs/cli@thismr/bitmindtest-core@unic/estatico-utils@the-utd/themeplify@vifjs/task-runner@userfrosting/ts-log-adapter-gulplogalisselisss-lab3ag-gulp-cli-4atscmatscm-cli@code-iai/web-build-tool3.0.0@brucearmstrong/sass-librarylayui-customdfeuk-frontenddfeuk-frontend-manualkribo-util@btc-vision/bsi-db@btc-vision/btc-runtime@bretkikehara/gulp-load-plugins@benovshe/sasslibraryzylwc-starterkitwebtasker-cliundertaker-common-tasks@l0vest0rm/gulp-uglify@lofcz/sweetalert2-neutral@litedexdev/litedex-core-swap@netivo/fonts@ngxvoice/ngx-voicelistner@savchukoleksii/builder@riil/gramcli@riil/gramcore@riil/gramdev-servermt-gulp-climvw-gallerymole-gulpminecraft-addon-toolchainminecraft-addon-toolchain-browserifyminecraft-addon-toolchain-jsonvalidatorminecraft-addon-toolchain-terserminecraft-addon-toolchain-webpackn8n-nodes-caldavreact-native-ok-sdksc-gutil
2.2.0

2 years ago

2.1.0

2 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.0

10 years ago

0.0.0

10 years ago