Skip to content

Commit

Permalink
Only output ddcci logs in dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
xanderfrangos committed Jan 4, 2024
1 parent 59526cd commit e3cbf99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Monitors.js
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ function getDDCCI() {
if (ddcci) return false;
try {
ddcci = require("@hensm/ddcci");
ddcci._setLogLevel(2);
if(isDev) ddcci._setLogLevel(2);
return true;
} catch (e) {
console.log('Couldn\'t start DDC/CI', e);
Expand Down

0 comments on commit e3cbf99

Please sign in to comment.