Merge pull request #70 from PDMLab/remove-winston-69

Remove winston dependency and lib/log
This commit is contained in:
Alexander Zeitler 2019-05-01 23:58:46 +02:00 committed by GitHub
commit e2f4d4bdd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 28 deletions

View file

@ -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;

View file

@ -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",