UNPKG

logaro

Version:

Structured logging middleware for Express. Tracks request timing, IP, status, method, and endpoint. Supports colorized console and JSON log files.

3 lines (2 loc) 160 B
import { Request, Response, NextFunction } from "express"; export declare const requestLogger: () => (req: Request, res: Response, next: NextFunction) => void;