@abhishek_kolge/logpro-logger

1.0.9 • Public • Published

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,
  })
)

Readme

Keywords

Package Sidebar

Install

npm i @abhishek_kolge/logpro-logger

Weekly Downloads

1

Version

1.0.9

License

ISC

Unpacked Size

3.56 kB

Total Files

4

Last publish

Collaborators

  • abhishek_kolge