mirror of
https://github.com/danbulant/docker-compose
synced 2026-05-22 05:48:48 +00:00
Delete log.js
This commit is contained in:
parent
4d12652f30
commit
c706924b84
1 changed files with 0 additions and 25 deletions
25
lib/log.js
25
lib/log.js
|
|
@ -1,25 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
const winston = require('winston');
|
||||
|
||||
const LEVELS = {
|
||||
fatal: 0,
|
||||
error: 1,
|
||||
info: 2,
|
||||
warn: 3,
|
||||
debug: 4
|
||||
};
|
||||
|
||||
const logger = new winston.Logger({
|
||||
transports: [
|
||||
new winston.transports.Console({
|
||||
level: 'debug',
|
||||
colorize: true,
|
||||
json: false,
|
||||
stringify: true
|
||||
})
|
||||
],
|
||||
levels: LEVELS
|
||||
});
|
||||
|
||||
module.exports = logger;
|
||||
Loading…
Reference in a new issue