mirror of
https://github.com/danbulant/docker-compose
synced 2026-05-19 20:38:35 +00:00
Merge pull request #70 from PDMLab/remove-winston-69
Remove winston dependency and lib/log
This commit is contained in:
commit
e2f4d4bdd1
2 changed files with 0 additions and 28 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;
|
||||
|
|
@ -47,9 +47,6 @@
|
|||
],
|
||||
"license": "MIT",
|
||||
"description": "Manage docker-compose from Node.js",
|
||||
"dependencies": {
|
||||
"winston": "^2.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"composefile": "^0.3.0",
|
||||
"dockerode": "^2.5.7",
|
||||
|
|
|
|||
Loading…
Reference in a new issue