core icon indicating copy to clipboard operation
core copied to clipboard

Add logging hooks

Open etsuo opened this issue 9 years ago • 1 comments

Logging should be left to the preferences of the integrator. SakuraApi should provide hooks that the integrator can integrate with his or her own logging system of choice.

https://blog.risingstack.com/node-js-logging-tutorial/

etsuo avatar May 03 '17 05:05 etsuo

After thinking about this for a bit, it seems like the need is limited to https://github.com/sakuraapi/api/blob/develop/src/handlers/basic-handlers.ts.

Other parts of the application will throw or reject and the error bubbles up to the integrator's code.

I'm going to bump this out of a milestone and think about it later. If anyone has any ideas here, please comment.

etsuo avatar Jan 03 '18 18:01 etsuo