Skip to content
This repository was archived by the owner on Jul 9, 2019. It is now read-only.

Commit d4357ec

Browse files
committed
Ability to turn logs on and off
1 parent 8498a74 commit d4357ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/logger.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
module.exports = function () {
2-
return;
2+
if (!process.env.DISABLE_LOGS) {
3+
console.log.apply(this, arguments);
4+
}
35
}

0 commit comments

Comments
 (0)