How to use the haredo.setLoggers function in haredo

To help you get started, we’ve selected a few haredo examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bamlab / nest-rabbit-tasks / src / nest-rabbit-tasks.module.ts View on Github external
public onModuleInit() {
    setLoggers({
      error: this.logger.error.bind(this.logger),
      info: this.logger.log.bind(this.logger),
      debug: this.logger.debug.bind(this.logger),
    });
    this.bindMessageFromQueueToMessageHandlerInWorker();
  }

haredo

A type-safe client library for rabbitmq/amqp

MIT
Latest version published 2 years ago

Package Health Score

55 / 100
Full package analysis

Popular haredo functions