Delete log.js

This commit is contained in:
Alexander Zeitler 2019-05-01 23:48:35 +02:00 committed by GitHub
parent 4d12652f30
commit c706924b84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;