quick-express-logger
Version:
A simple Express middleware to log incoming HTTP requests.
20 lines (12 loc) • 601 B
Markdown
# logger
# express-request-logger
A simple and lightweight Express middleware that logs details of incoming HTTP requests, including method, URL, client ID, and optionally a custom action tag.
Ideal for quick debugging, monitoring, and tracing API requests in your Express.js applications.
## Features
- Logs request method, URL, query params, request body, and headers
- Supports custom `req.action` for tagging specific actions
- Easy to integrate with any Express.js app
- Zero dependencies and minimal footprint
## Installation
```bash
npm install express-request-logger