codecombat/server/commons/logging.coffee

9 lines
186 B
CoffeeScript
Raw Normal View History

2014-07-01 10:16:26 +08:00
winston = require 'winston'
2014-01-03 10:32:13 -08:00
module.exports.setup = ->
winston.remove(winston.transports.Console)
winston.add(winston.transports.Console,
colorize: true,
timestamp: true
2014-03-17 22:45:40 +04:00
)