From da033ef5d2220a89c2d4047c2d04cfece30a29ec Mon Sep 17 00:00:00 2001 From: sienori Date: Wed, 6 Jan 2021 02:42:25 +0900 Subject: [PATCH] Fix loglevel saving a key to local storage --- src/common/log.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); };