浏览代码

生产环境不要日志

flyzto 7 月之前
父节点
当前提交
429396f7ca
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server/triangle/eventsMatch.js

+ 1 - 1
server/triangle/eventsMatch.js

@@ -171,7 +171,7 @@ const eventMatch = () => {
       });
       if (updateIds.add.length || updateIds.update.length) {
         const solutionsList = Object.values(solutionsHistory).sort((a, b) => b.sol.win_average - a.sol.win_average);
-        Logs.out('solutions history update', JSON.stringify(solutionsList, null, 2), JSON.stringify(updateIds, null, 2));
+        Logs.outDev('solutions history update', JSON.stringify(solutionsList, null, 2), JSON.stringify(updateIds, null, 2));
       }
     }
   })