init
This commit is contained in:
15
lib/log.js
Normal file
15
lib/log.js
Normal file
@@ -0,0 +1,15 @@
|
||||
const bunyan = require('bunyan')
|
||||
|
||||
module.exports = bunyan.createLogger({
|
||||
name: 'mm-etl',
|
||||
streams: [
|
||||
{
|
||||
level: 'info',
|
||||
stream: process.stdout
|
||||
},
|
||||
{
|
||||
level: 'info',
|
||||
path: 'mm-etl.log'
|
||||
}
|
||||
]
|
||||
})
|
||||
Reference in New Issue
Block a user