import winston from 'winston'
var logger = new (winston.Logger)({
transports: [
new (winston.transports.File)({
name: 'info-file',
filename: './logs/info.log',
level: 'info'
}),
new (winston.transports.File)({
name: 'error-file',
filename: './logs/error.log',
level: 'error'
}),
new (winston.transports.File)({
name: 'debug-file',
filename: './logs/debug.log',
level: 'debug'
})
]
});
export default logger