error-logging-server
Error Logging Server is a Node.js package designed to capture errors sent from the Error Logging Client package and display them in the backend server terminal. It provides a seamless way to track errors and debug applications by centralizing error logs on the server side.
Features
- Receives error logs from the Error Logging Client package.
- Displays error logs in the backend server terminal.
- Facilitates centralized error tracking and debugging.
Installation
Install the package via npm:
Usage
To use Error Logging Server in your project, follow these steps:
Major Requirement : Use the backened Port as 3000 to hear the server and logging error.
METHOD - 1
In this method you don't need to write anything just require the package.The Express server is required to the variable to 'app' which can be used by you in processing further request.
METHOD - 2
In this method you need to accept the POST request generated by the main server.
OUTPUT
Feedback and Contributions
Feedback, bug reports, and contributions are welcome! Feel free to open an issue or submit a pull request on GitHub.