Skip to content

Commit bd84e46

Browse files
committed
ts (timestamps) pmo
1 parent 53ef308 commit bd84e46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/telegram/helpers/debug.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ import { appendFileSync } from "node:fs"
44
const me = randomUUID()
55

66
export function log(str: string) {
7-
appendFileSync("data/log.txt", `${me}: ${str}\n`)
7+
appendFileSync("data/log.txt", `[${new Date().toISOString()}] [${me}] ${str}\n`)
88
}

0 commit comments

Comments
 (0)