@hoangnam.io/qa-tools
v0.4.0
Published
Logging, Error handling, Notifying for Express codebase
Downloads
38
Maintainers
Readme
Description:
This project works on: Logs, Error Handling, Otel.
- Logs: it provides a function so that nodejs express projects can easily employ & quickly get logging right
- Error Handling: Just as an example for reference. Each project can define its own error types, and how to handle errors
- Otel: As an example.
Nodejs Log Lib: support log to console, mongodb and google cloud logging
- To log requests: using createLogMiddleware()
- To log in general: using getLogger()
How to use:
- Pass the config for the each logger to enable them
