Skip to content

Commit

Permalink
Adds console transport when testing with VERBOSE=1
Browse files Browse the repository at this point in the history
  • Loading branch information
flovilmart authored and drew-gross committed Apr 4, 2016
1 parent 0e3636d commit ec6a397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ec6a397

Please sign in to comment.