Fix loglevel saving a key to local storage

This commit is contained in:
sienori 2021-01-06 02:42:25 +09:00
parent e4dcd6eb43
commit da033ef5d2

View file

@ -18,6 +18,6 @@ export const overWriteLogLevel = () => {
export const updateLogLevel = () => { export const updateLogLevel = () => {
const isDebugMode = getSettings("isDebugMode"); const isDebugMode = getSettings("isDebugMode");
if (isDebugMode) log.enableAll(); if (isDebugMode) log.enableAll(false);
else log.disableAll(); else log.disableAll(false);
}; };