codecombat/server/commons/logging.coffee

8 lines
186 B
CoffeeScript
Raw Normal View History

2014-01-03 13:32:13 -05:00
winston = require('winston')
module.exports.setup = ->
winston.remove(winston.transports.Console)
winston.add(winston.transports.Console,
colorize: true,
timestamp: true
)