Files

6 lines
153 B
Python
Raw Permalink Normal View History

2026-03-21 14:12:55 +01:00
from datetime import datetime
def log_alert(message: str):
ts = datetime.now().strftime("%Y-%m-%d %H:%M")
print(f"[ALERTE][{ts}]\n{message}\n")