Adds console transport when testing with VERBOSE=1

This commit is contained in:
Florent Vilmart
2016-04-04 14:07:25 -04:00
committed by Drew
parent 0e3636d880
commit ec6a39718d

View File

@@ -27,7 +27,7 @@ function generateTransports() {
level: 'error'
})
]
if (!process.env.TESTING) {
if (!process.env.TESTING || process.env.VERBOSE) {
transports = [new (winston.transports.Console)({
colorize: true,
level:level