LoggerMiddleware.js 560 B

1234567891011121314151617
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. const http_1 = require("../base/http");
  4. // import { Logger } from '../base/logger';
  5. class LoggerMiddleware extends http_1.Middleware {
  6. constructor() {
  7. super(...arguments);
  8. this.order = -97;
  9. this.route = null;
  10. // protected action = (<Logger>this.context.getLogger()).getHttpLogger();
  11. this.action = (res, req, next) => {
  12. next();
  13. };
  14. }
  15. }
  16. exports.default = LoggerMiddleware;
  17. //# sourceMappingURL=LoggerMiddleware.js.map