infrastructure-logger.js 530 B

1234567891011121314
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.getInfrastructureLogger = void 0;
  4. function getInfrastructureLogger(compiler) {
  5. const logger = compiler.getInfrastructureLogger('ForkTsCheckerWebpackPlugin');
  6. return {
  7. log: logger.log.bind(logger),
  8. debug: logger.debug.bind(logger),
  9. error: logger.error.bind(logger),
  10. warn: logger.warn.bind(logger),
  11. info: logger.info.bind(logger),
  12. };
  13. }
  14. exports.getInfrastructureLogger = getInfrastructureLogger;