1 | const debug = require('debug');
|
2 |
|
3 | const mainLogger = debug('penny:main');
|
4 | const scssLogger = debug('penny:scss');
|
5 | const cssLogger = debug('penny:css');
|
6 | const pugLogger = debug('penny:pug');
|
7 | const jsLogger = debug('penny:js');
|
8 |
|
9 | module.exports = { mainLogger, scssLogger, cssLogger, pugLogger, jsLogger };
|
10 |
|
11 | module.exports.logger = function(srcExt) {
|
12 | return debug(`penny:${srcExt}`);
|
13 | }
|