Adding logging

This commit is contained in:
2026-03-17 15:50:21 -07:00
parent 592fb0c078
commit 697528c991
2 changed files with 13 additions and 6 deletions

View File

@@ -1,3 +1,4 @@
import logging
from collections.abc import Generator
from datetime import UTC, datetime
from typing import Any
@@ -9,6 +10,9 @@ from src.camera import camera
app = Flask(__name__)
logging.basicConfig(level=logging.INFO)
@app.get("/heartbeat")
def heartbeat() -> tuple[Response, int]:
return (