Skip to content

Commit ec6a397

Browse files
flovilmartdrew-gross
authored andcommitted
Adds console transport when testing with VERBOSE=1
1 parent 0e3636d commit ec6a397

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/logger.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function generateTransports() {
2727
level: 'error'
2828
})
2929
]
30-
if (!process.env.TESTING) {
30+
if (!process.env.TESTING || process.env.VERBOSE) {
3131
transports = [new (winston.transports.Console)({
3232
colorize: true,
3333
level:level

0 commit comments

Comments
 (0)