ciyidogan commited on
Commit
094b2a3
·
verified ·
1 Parent(s): 302fbfe

Delete log.py

Browse files
Files changed (1) hide show
  1. log.py +0 -11
log.py DELETED
@@ -1,11 +0,0 @@
1
- from datetime import datetime
2
-
3
- def log(message):
4
- timestamp = datetime.now().strftime("%H:%M:%S")
5
- line = f"[{timestamp}] {message}"
6
- print(line, flush=True)
7
- try:
8
- with open("/tmp/logs.txt", "a", encoding="utf-8") as f:
9
- f.write(line + "\n")
10
- except Exception:
11
- pass # dosya erişim hataları sessizce geçilir