feat: 로그 수집 기능 개선 및 도시 페널티 적용 로직 추가

This commit is contained in:
2026-01-24 19:10:00 +00:00
parent d8006fdc28
commit c3f4c58f4f
2 changed files with 45 additions and 11 deletions
@@ -185,6 +185,9 @@ export const createTurnTestHarness = async (options: TurnTestHarnessOptions) =>
runOneTick,
runUntil,
getCollectedLogs: () => [...collectedLogs],
getCollectedLogsCount: () => collectedLogs.length,
getCollectedLogsRange: (start: number, end?: number) =>
collectedLogs.slice(start, end ?? collectedLogs.length),
getAndClearCollectedLogs: () => collectedLogs.splice(0, collectedLogs.length),
};
};