How to use the fancy-log.apply function in fancy-log

To help you get started, we’ve selected a few fancy-log 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 centrifugal / web / node_modules / gulp-util / lib / log.js View on Github external
module.exports = function(){
  if(hasGulplog()){
    // specifically deferring loading here to keep from registering it globally
    var gulplog = require('gulplog');
    gulplog.info.apply(gulplog, arguments);
  } else {
    // specifically defering loading because it might not be used
    var fancylog = require('fancy-log');
    fancylog.apply(null, arguments);
  }
  return this;
};
github Andyliwr / FE-learning-load / 前端小demo / es6Toes5 / node_modules / gulp-util / lib / log.js View on Github external
module.exports = function(){
  if(hasGulplog()){
    // specifically deferring loading here to keep from registering it globally
    var gulplog = require('gulplog');
    gulplog.info.apply(gulplog, arguments);
  } else {
    // specifically defering loading because it might not be used
    var fancylog = require('fancy-log');
    fancylog.apply(null, arguments);
  }
  return this;
};
github irods-contrib / irods-cloud-browser / irods-cloud-frontend / node_modules / gulp-concat / node_modules / gulp-util / lib / log.js View on Github external
module.exports = function(){
  if(hasGulplog()){
    // specifically deferring loading here to keep from registering it globally
    var gulplog = require('gulplog');
    gulplog.info.apply(gulplog, arguments);
  } else {
    // specifically defering loading because it might not be used
    var fancylog = require('fancy-log');
    fancylog.apply(null, arguments);
  }
  return this;
};
github alexpopdev / underscorejs-examples / advanced-topics-2 / gulp-browserify / node_modules / gulp-util / lib / log.js View on Github external
module.exports = function(){
  if(hasGulplog()){
    // specifically deferring loading here to keep from registering it globally
    var gulplog = require('gulplog');
    gulplog.info.apply(gulplog, arguments);
  } else {
    // specifically defering loading because it might not be used
    var fancylog = require('fancy-log');
    fancylog.apply(null, arguments);
  }
  return this;
};
github jackfranklin / gulp-load-plugins / index.js View on Github external
function logger() {
  if (hasGulplog()) {
    // specifically deferring loading here to keep from registering it globally
    const gulplog = require('gulplog');
    gulplog.info.apply(gulplog, arguments);
  } else {
    // specifically deferring loading because it might not be used
    const fancylog = require('fancy-log');
    fancylog.apply(null, arguments);
  }
}
github Jeff2Ma / postcss-lazysprite / index.js View on Github external
function debug() {
	var data = Array.prototype.slice.call(arguments);
	fancyLog.apply(false, data);
}
github Jeff2Ma / postcss-lazysprite / index.js View on Github external
case 'slient':
		if (level !== 'lv1') {
			output = false;
		}
		break;
	case 'info':
		if (level === 'lv3') {
			output = false;
		}
		break;
	default:
		output = true;
	}
	if (output) {
		var data = Array.prototype.slice.call(content);
		fancyLog.apply(false, data);
	}
}
github glebmachine / postcss-easysprites / lib / log.js View on Github external
function log(...message) {
  fancyLog.apply(false, message);
}

fancy-log

Log things, prefixed with a timestamp.

MIT
Latest version published 3 years ago

Package Health Score

71 / 100
Full package analysis