mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 08:44:25 +08:00
code refactor
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
import settings from './settings.js';
|
||||
import { isEnableDebug } from './settings.js';
|
||||
|
||||
function logDebug(msg, obj) {
|
||||
if (settings.isEnableDebug()) {
|
||||
if (isEnableDebug()) {
|
||||
if (obj) {
|
||||
console.debug('[ezBookkeeping Debug] ' + msg, obj);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user