diff --git a/src/common/log.js b/src/common/log.js index 0454caf..2b6cbb7 100644 --- a/src/common/log.js +++ b/src/common/log.js @@ -18,6 +18,6 @@ export const overWriteLogLevel = () => { export const updateLogLevel = () => { const isDebugMode = getSettings("isDebugMode"); - if (isDebugMode) log.enableAll(); - else log.disableAll(); + if (isDebugMode) log.enableAll(false); + else log.disableAll(false); };