* zin: refactor js log.

This commit is contained in:
sunhao
2023-11-21 16:30:35 +08:00
parent 6c792b91f1
commit d3bf894ad4
+6 -1
View File
@@ -636,7 +636,12 @@
const newOptions = window.beforePageLoad(options);
if(newOptions) $.extend(options, newOptions);
}
if(DEBUG) console.log('[APP] ', 'load:', options.url);
if(DEBUG)
{
console.groupCollapsed('[APP] ', 'load:', options.url);
console.trace('options', options);
console.groupEnd();
}
fetchContent(options.url, options.selector, options);
}