2.0.1 • Published 2 months ago

gulplog v2.0.1

Weekly downloads
1,554,575
License
MIT
Repository
github
Last release
2 months 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)

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.

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

License

MIT

gulp-cligulp-util@siiron/sds-icons@vchangal/devkit@alotool/bloggerpack@anho/circleci-orb-tools@alotool/alotool-cli@wiajs/cliag-gulp-cli-4panqibaoct-build-processdeck-task-registry@userfrosting/ts-log-adapter-gulplogcreate-amp-pagebetter-gulp-clibedrockappatscmatscm-cli@riil/gramcli@riil/gramcore@riil/gramdev-server@spectrum-css/component-builder@spectrum-css/buildfenglin-uploaderfishzeroluqin-gram-dev-serverlynchburgm2m-chartjs-plugin-crosshairmebloggenerator-mee-scripting-testgulp-chefgulp-clapgulp-ccr-each-dirgulp-ccr-watchgulp-butternutgulp-cli.buildgulp-cli4gulp-gitstagegulp-bower-flattengulp-jspm-buildergulp-load-pluginsgulp-static-webgulp-uglifygulp-uglify-chylvinagulp-toolbox-pipe-coverage-istanbulgulp-toolbox-registrygulp-toolbox-reporter-coverallsgulp-packages-buildergulp-tm-uglifygulp-prettyerrorgulp-smart-debiangulp-server-livereloadh5-templetegulp-reinstallgulp-require-html-inlinegulp-webpack-taskgulp-wpgulp4-ing-clikribo-utilhuddlerhendo-clihendo-cli-luozheaohcm-jsjeuxuiminecraft-addon-toolchain-webpackminecraft-addon-toolchainminecraft-addon-toolchain-browserifyminecraft-addon-toolchain-jsonvalidatorminecraft-addon-toolchain-terser@thismr/bitmindtest-core@the-utd/themeplifymole-gulpmvw-gallerymt-gulp-clisimply-uipeter.you.jqweui.test.publishwc-starterkitwinston-gulplogtempgulp4-cli@avrora.io/sdkzylwed_developerwebtasker-cli3.0.0sc-gutilsweetalert2-neutralvideo-multi-uploaderundertaker-common-tasksprimeng-customreact-native-ok-sdk@hubspot/local-cms-server-cli@igniswap/igni-swap-lib@headgum/tko-mapping@jimbly/gulp-uglify@mfonseca/gulp-file-injector@netivo/fonts@ngxvoice/ngx-voicelistner@bonsaiswapv2/core@code-iai/web-build-tool@ftf/pisces
2.0.1

2 months ago

2.0.0

5 months ago

1.0.0

7 years ago

0.0.0

7 years ago