feat(logging): add opt-in debug logging mode

- Add validated LOG_MODE configuration and route trace-aware diagnostics through debug.
- Select debug mode in shared test setup while preserving DEBUG namespace control.
- Add logger/config regression coverage and document runtime configuration.
This commit is contained in:
agent committed 2026-11-11 13:31:48 -05:00
1 parent ff9a700c86
commit ceed27ad9e
10 files changed
+214 -4

No files matched your search

+3
View File
@@ -8,6 +8,9 @@
# NODE_ENV=development
# PORT=3000
## Application log output: console (default) or debug (controlled by DEBUG namespaces)
# LOG_MODE=console
## Optional account authentication (disabled unless explicitly enabled)
# AUTH_ENABLED=true
## Required when AUTH_ENABLED=true. Set a private, high-entropy value outside source control.