Fix loglevel saving a key to local storage
This commit is contained in:
parent
e4dcd6eb43
commit
da033ef5d2
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue