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")