浏览代码

make logger return empty string

Nariman Jelveh 9 月之前
父节点
当前提交
5caf59f1bc
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/gui/src/init_sync.js

+ 2 - 1
src/gui/src/init_sync.js

@@ -39,7 +39,8 @@
 // something like this was also done in backend and it proved useful.
 (scope => {
     globalThis.logger = {
-        info: (...a) => console.log('%c[INIT/INFO]', 'color: #4287f5', ...a),
+        info: (...a) => {},
+        // info: (...a) => console.log('%c[INIT/INFO]', 'color: #4287f5', ...a),
     };
 })(globalThis);
 logger.info('start -> blocking initialization');