gitdataai/admin/src/app/api
ZhenYi 3773fdc780 feat(admin): add structured error logger for all API routes
Replace bare console.error() calls with logError() utility across all
47 API route handlers. logError() prints timestamp + context + message
+ stack trace + extra request data to stderr, and redacts sensitive
fields (password, token, secret, key, etc.) from logged objects.
2026-04-23 09:55:35 +08:00
..
admin feat(admin): add structured error logger for all API routes 2026-04-23 09:55:35 +08:00
api-tokens feat(admin): add structured error logger for all API routes 2026-04-23 09:55:35 +08:00
auth feat(admin): add structured error logger for all API routes 2026-04-23 09:55:35 +08:00
cron-initialize feat(admin): add node-cron daily scheduler for reports 2026-04-22 10:23:21 +08:00
health feat(admin): add structured error logger for all API routes 2026-04-23 09:55:35 +08:00
logs feat(admin): add structured error logger for all API routes 2026-04-23 09:55:35 +08:00
permissions feat(admin): add structured error logger for all API routes 2026-04-23 09:55:35 +08:00
platform feat(admin): add structured error logger for all API routes 2026-04-23 09:55:35 +08:00
roles feat(admin): add structured error logger for all API routes 2026-04-23 09:55:35 +08:00
sessions feat(admin): add structured error logger for all API routes 2026-04-23 09:55:35 +08:00
users feat(admin): add structured error logger for all API routes 2026-04-23 09:55:35 +08:00