2.2.0 • Published 1 year ago

gulplog v2.2.0

Weekly downloads
1,554,575
License
MIT
Repository
github
Last release
1 year 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-uploader@code-iai/web-build-tool@ctfdio/picocss-themes@dan/cryptocoins-iconsjeuxui3.0.0@brucearmstrong/sass-librarylayui-customdfeuk-frontenddfeuk-frontend-manualkribo-util@avrora.io/sdk@btc-vision/bsi-db@btc-vision/btc-runtime@bretkikehara/gulp-load-plugins@hodzitsky/themeplify@benovshe/sasslibrary@delta-framework/compiler-corezylwc-starterkitwebtasker-cliundertaker-common-tasks@headgum/tko-mapping@hckr_/blendid@hubspot/local-cms-server-cli@ftf/pisces@l0vest0rm/gulp-uglify@lofcz/sweetalert2-neutral@isogand/react-native-sliding-counter@litedexdev/litedex-core-swap@luqin/dev-server@luqin/gram-cli@luqin/gram-core@luqin/gram-dev-server@mfonseca/gulp-file-injector@netivo/fonts@ngxvoice/ngx-voicelistner@faizanhaider/iconsax@min98/layui-custom@jimbly/gulp-uglify@kleeinteractive/ktt@igniswap/igni-swap-lib@savchukoleksii/builder@riil/gramcli@riil/gramcore@riil/gramdev-server@spectrum-css/build@spectrum-css/component-builder@spectrum-css/component-builder-simplemt-gulp-climvw-gallerymole-gulpminecraft-addon-toolchainminecraft-addon-toolchain-browserifyminecraft-addon-toolchain-jsonvalidatorminecraft-addon-toolchain-terserminecraft-addon-toolchain-webpackn8n-nodes-caldavreact-native-ok-sdksc-gutilpeter.you.jqweui.test.publishprimeng-customrangoli-csssimply-uihuddlergulp-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-templete
2.2.0

1 year ago

2.1.0

1 year 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