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 1 year ago

Package Health Score

59 / 100
Full package analysis

Popular haredo functions