1234567891011121314 |
- import { Middleware } from '../base/http';
- import { NextFunction, Request, Response } from 'express';
- // import { Logger } from '../base/logger';
- class LoggerMiddleware extends Middleware {
- protected order = -97;
- protected route = null;
- // protected action = (<Logger>this.context.getLogger()).getHttpLogger();
- protected action = (res: Response, req: Request, next: NextFunction): any => {
- next();
- };
- }
- export default LoggerMiddleware;
|