codecombat/server/commons/logging.coffee
Mikhail Koltsov a28eedc229 nothing
2014-03-17 22:45:59 +04:00

8 lines
187 B
CoffeeScript

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