codecombat/server/commons/logging.coffee
2014-07-01 12:23:22 +08:00

8 lines
186 B
CoffeeScript

winston = require 'winston'
module.exports.setup = ->
winston.remove(winston.transports.Console)
winston.add(winston.transports.Console,
colorize: true,
timestamp: true
)