How to use the gulplog.debug function in gulplog

To help you get started, we’ve selected a few gulplog examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gulpjs / gulp-cli / test / fixtures / logging.js View on Github external
var log = require('gulplog');
var yargs = require('yargs');
var toConsole = require('../../lib/shared/log/to-console');
var cliOptions = require('../../lib/shared/cli-options');

var parser = yargs.usage('', cliOptions);
var opts = parser.argv;

toConsole(log, opts);

log.debug('test debug');
log.info('test info');
log.warn('test warn');
log.error('test error');

gulplog

Logger for gulp and gulp plugins

MIT
Latest version published 9 months ago

Package Health Score

74 / 100
Full package analysis