https://github.com/saphalpdyl/express-insight
A logging framework/express middleware that makes debugging easy
https://github.com/saphalpdyl/express-insight
express expressjs javascript logging nodejs
Last synced: about 2 months ago
JSON representation
A logging framework/express middleware that makes debugging easy
- Host: GitHub
- URL: https://github.com/saphalpdyl/express-insight
- Owner: saphalpdyl
- Created: 2024-09-12T01:39:21.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-05T22:19:31.000Z (over 1 year ago)
- Last Synced: 2025-01-28T22:48:55.027Z (over 1 year ago)
- Topics: express, expressjs, javascript, logging, nodejs
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/express-insight
- Size: 172 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Express Insight
## Overview
Express Insight is a logging middleware for Express.js applications. This project aims to provide detailed insights into incoming requests and outgoing responses in an Express application, helping developers better understand and debug their web applications
[]()
## Usage
Here's a basic implementation of the core plugin with the error plugin
```javascript
import express from 'express';
import ExpressInsight from 'express-insight';
const app = express();
const expInsight = ExpressInsight.setupExpressInsight(app, {
projectName: "Local Project",
error: {
enable: true,
},
});
app.get('/', (req, res) => {
res.send('Hello, World!');
});
expInsight.setupErrorPlugin();
app.listen(3000);
```
## Screenshots

## Contribution
This is a personal project for learning purposes, but I'm open to suggestions and feedback. Feel free to open an issue if you have ideas on how I can improve this project or my coding practices.
## License
This project is open source and available under the [MIT License](LICENSE).
---
Created with 💓 by Saphal Poudyal