Răsfoiți Sursa

日志格式化

flyzto 7 luni în urmă
părinte
comite
aeab0a4b97
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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));
       }
     }
   })