How would you handle logging and monitoring for a REST API?
- Use structured logging (Serilog, NLog).
- Log important events (auth failures, errors, requests).
- Implement monitoring tools (Application Insights, ELK Stack).
- Add correlation IDs for tracing requests.