Update log output format to include 'Total Ping' in uptime monitoring

This commit is contained in:
2026-03-09 08:23:51 +01:00
parent 881c8452f1
commit ddba87529b

View File

@@ -34,7 +34,7 @@ class Uptime {
}); });
} }
process.stdout.write(`[${now.toLocaleDateString()} ${now.toLocaleTimeString()}] Total: ${this.totalIte} Up: ${this.totalUp} Down: ${this.totalDown} Uptime: ${Math.round((this.totalUp / this.totalIte) * 100)}%\r`) process.stdout.write(`[${now.toLocaleDateString()} ${now.toLocaleTimeString()}] Total Ping: ${this.totalIte} | Up: ${this.totalUp} | Down: ${this.totalDown} | Uptime: ${Math.round((this.totalUp / this.totalIte) * 100)}%\r`)
}, {timeout: 10}); }, {timeout: 10});
} }
} }