codecombat/server/logging.coffee
2014-01-03 10:32:13 -08:00

8 lines
No EOL
186 B
CoffeeScript

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