diff --git a/frontend/tools/logger.ts b/frontend/tools/logger.ts index bc10d7d..7894536 100644 --- a/frontend/tools/logger.ts +++ b/frontend/tools/logger.ts @@ -30,7 +30,7 @@ class Logger { oldLogsJson.push(logData); - await fs.writeFile(logFilePath, JSON.stringify(oldLogsJson)); + await fs.writeFile(logFilePath, JSON.stringify(oldLogsJson, null, 2)); } catch (e) { console.error(e); }