@abhishek_kolge/logpro-logger
v1.0.9
Published
A logger for an Express.js server that logs all incoming requests and outgoing responses and allows users to view these logs on a LogPro dashboard
Downloads
23
Readme
LogPro Logger
A logger for an Express.js server that logs all incoming requests and outgoing responses and allows users to view these logs on a LogPro dashboard
Dashboard
link: https://log-pro-frontend-production.up.railway.app
To run use this package you need to sign up on https://log-pro-frontend-production.up.railway.app and generate a key. A key is mandatory to access all the logs on LogPro dashboard.
Usage
Create a Express.js server
Installation
npm i @abhishek_kolge/logpro-logger
Import as default
const logProLogger = require('@abhishek_kolge/logpro-logger');
Create an Express.js middleware for logging:
app.use(
logProLogger({
key: YOUR_API_KEY,
})
)