Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 98b9fa4

Browse files
chore: allow for silencing log output with an environment variable
1 parent a879d2c commit 98b9fa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/console.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const CONSOLE = {};
44

5-
const isEnabled = atom.inDevMode();
5+
const isEnabled = atom.inDevMode() && !process.env.SILENCE_LOG;
66

77
function makeConsoleMethod (name) {
88
return (...args) => {

0 commit comments

Comments
 (0)