As a developer, I want structured logs with configurable levels, So that I can debug effectively in production. ## Acceptance criteria - [ ] AC1: The logging level (`DEBUG`, `INFO`, `ERROR`) can be configured via an environment variable. - [ ] AC2: All log output is in a structured JSON format. - [ ] AC3: The application correctly uses different log levels for different types of events (e.g., `INFO` for requests, `ERROR` for failures). ## Definition of Done - [ ] Code implemented in a feature/fix branch - [ ] Unit / integration tests added or existing tests updated - [ ] Linting passed and code builds locally - [ ] Docs / README updated if behavior changed - [ ] PR opened and linked (`Closes #<issue-number>`) - [ ] Manual QA steps verified (if applicable)
As a developer,
I want structured logs with configurable levels,
So that I can debug effectively in production.
Acceptance criteria
DEBUG,INFO,ERROR) can be configured via an environment variable.INFOfor requests,ERRORfor failures).Definition of Done
Closes #<issue-number>)