Update logger
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user