Initial commit
This commit is contained in:
8
logging.md
Normal file
8
logging.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
trigger: always_on
|
||||
---
|
||||
|
||||
- Correlation IDs in backend; include in logs and echo to responses for support.
|
||||
- Structured logging (JSON) in production; human-readable in dev.
|
||||
- Define log levels: DEBUG (dev), INFO/WARN/ERROR (prod).
|
||||
- Frontend: log to console in dev; redact PII; show user-friendly errors.
|
||||
Reference in New Issue
Block a user