Bachir Soussi Chiadmi ac58a24f5c added bower, gulp | 7 år sedan | |
---|---|---|
.. | ||
CHANGELOG.md | 7 år sedan | |
LICENSE | 7 år sedan | |
README.md | 7 år sedan | |
index.js | 7 år sedan | |
package.json | 7 år sedan |
Logger for gulp and gulp plugins
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]);
Logging (and level of logging) is controlled by gulp-cli
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.
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.
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.
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.
MIT