Sha256: 8261f7c01281669c0257eae4672ad1328884250b38708d8a18dbdc407d5f59bf
Contents?: true
Size: 365 Bytes
Versions: 26
Compression:
Stored size: 365 Bytes
Contents
'use strict'; const log = require('webpack-log'); function createLogger(options = {}) { let level = options.logLevel || 'info'; if (options.noInfo === true) { level = 'warn'; } if (options.quiet === true) { level = 'silent'; } return log({ name: 'wds', level, timestamp: options.logTime, }); } module.exports = createLogger;
Version data entries
26 entries across 25 versions & 8 rubygems