codecombat/server/commons/logging.coffee

9 lines
186 B
CoffeeScript
Raw Normal View History

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