show explicit ids and urls in stats

This commit is contained in:
marlon-erler
2026-04-02 21:25:39 +00:00
parent 57f79e16df
commit 1f6e5c613e
7 changed files with 604 additions and 1583 deletions
+4 -6
View File
@@ -36,16 +36,14 @@ async function writeToLogFile(message: string): Promise<void> {
}
// stats
export function writeStatString(label: string, value: string): void {
export function writeStat(label: string, value: string | number): void {
console.log(
`${label.padEnd(STAT_INDENT, " ")} ${Colors.bold.green(value)}`,
`${Colors.bold.green(label.padEnd(STAT_INDENT, " "))}\n${value.toString()}\n`
);
}
export function writeStatNumber(label: string, value: number): void {
console.log(
`${label.padEnd(STAT_INDENT, " ")} ${Colors.bold.blue(value.toString())}`,
);
export function writeSeparator(): void {
console.log(Colors.gray("-----") + "\n")
}
// logging