Initial commit
[yaffs-website] / node_modules / gulp-util / lib / log.js
1 var hasGulplog = require('has-gulplog');
2
3 module.exports = function(){
4   if(hasGulplog()){
5     // specifically deferring loading here to keep from registering it globally
6     var gulplog = require('gulplog');
7     gulplog.info.apply(gulplog, arguments);
8   } else {
9     // specifically defering loading because it might not be used
10     var fancylog = require('fancy-log');
11     fancylog.apply(null, arguments);
12   }
13   return this;
14 };