bigbluebutton-Github/labs/api/recordings/lib/logger.coffee
2014-05-02 13:50:46 +00:00

20 lines
297 B
CoffeeScript
Executable File

bunyan = require 'bunyan'
config = require '../config'
logger = bunyan.createLogger({
name: 'bbbnode',
streams: [
{
level: 'debug',
stream: process.stdout,
},
{
level: 'info',
path: config.log.path
}
]
})
module.exports = logger