UNPKG

cls-proxify

Version:

Logging on steroids with CLS and Proxy. Integrated with express, koa, fastify.

4 lines (3 loc) 257 B
import { Request, RequestHandler, Response } from 'express'; export declare type CreateClsProxyExpress = (req: Request, response: Response) => any; export declare const clsProxifyExpressMiddleware: (createClsProxy: CreateClsProxyExpress) => RequestHandler;