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.

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 5 months ago

Package Health Score

69 / 100
Full package analysis

Popular haredo functions

Similar packages