cap-js / ord

Open Resource Discovery (ORD) is a protocol that allows applications and services to self-describe their exposed resources and capabilities. This plugin enables generation of ORD document for CAP based applications.
Apache License 2.0
3 stars 4 forks source link

Feat: add logger to handle errors #66

Closed zongqichen closed 1 week ago

zongqichen commented 1 month ago

We need to revisit all functions and handle errors with logger. I propose to stick with cap framework logger: https://cap.cloud.sap/docs/node.js/cds-log. In production env, user can use central logging system to trace and debug.