/
eb
/
Surf
Обзор
Документация
Войти
/
eb
/
Surf
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
node_modules/gulp-uglify/lib/log.js
15 строк
318 B
EvgeniyBudaev
Initial commit
17 фев 2020, 09:02
17 фев 2020, 09:02
bb6f06f
Код
Авторство
О чём код?
'use strict'; var hasLog = require('has-gulplog'); var each = require('array-each'); var levels = ['debug', 'info', 'warn', 'error']; each(levels, function(level) { module.exports[level] = function() { if (hasLog()) { var log = require('gulplog'); log[level].apply(log, arguments); } }; });