Skip to content

vaibhav211002/error-logger-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

image

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.

image

METHOD - 2

In this method you need to accept the POST request generated by the main server.

image

OUTPUT

image

Feedback and Contributions

Feedback, bug reports, and contributions are welcome! Feel free to open an issue or submit a pull request on GitHub.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published