We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53ef308 commit bd84e46Copy full SHA for bd84e46
src/telegram/helpers/debug.ts
@@ -4,5 +4,5 @@ import { appendFileSync } from "node:fs"
4
const me = randomUUID()
5
6
export function log(str: string) {
7
- appendFileSync("data/log.txt", `${me}: ${str}\n`)
+ appendFileSync("data/log.txt", `[${new Date().toISOString()}] [${me}] ${str}\n`)
8
}
0 commit comments