Ver Fonte

日志格式化

flyzto há 7 meses atrás
pai
commit
aeab0a4b97
1 ficheiros alterados com 1 adições e 1 exclusões
  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', solutionsList, updateIds);
+        Logs.out('solutions history update', JSON.stringify(solutionsList, null, 2), JSON.stringify(updateIds, null, 2));
       }
     }
   })