feat: add logger
This commit is contained in:
@@ -60,6 +60,15 @@ class Settings(BaseSettings):
|
||||
description="Service label surfaced in lifespan / health checks.",
|
||||
)
|
||||
|
||||
# ── logging ───────────────────────────────────────────────────
|
||||
log_level: str = Field(
|
||||
default="DEBUG",
|
||||
description=(
|
||||
"loguru stderr sink level. One of DEBUG/INFO/WARNING/ERROR/CRITICAL; "
|
||||
"anything else falls back to INFO inside configure_logging()."
|
||||
),
|
||||
)
|
||||
|
||||
# ── runtime container endpoint ───────────────────────────────
|
||||
runtime_api_url: str = Field(
|
||||
default="http://runtime:8000",
|
||||
|
||||
Reference in New Issue
Block a user