8 lines
209 B
TypeScript
8 lines
209 B
TypeScript
|
import { Request, Response } from "express";
|
||
|
import { app, logger } from "..";
|
||
|
|
||
|
app.use('*', (req: Request, res: Response, next: () => void) => {
|
||
|
logger.debug(`${req.method} ${req.path}`);
|
||
|
next();
|
||
|
});
|