Hi,
When connection fails an MenashMQ logs to user "[RabbitMQ Client] Starting reinitialize...". This does not allow monitoring of logs with their logging libraries.
Possible solution:
Add possibility of listening to "reinitialize event" so user can decide how to log the error.
maybe for simplifying, keep the default behaviour, because many clients will forget to listen to that event.
Example syntax
import menash from 'menashmq';
menash.on('errror', (err) => logger.log(err));
Hi,
When connection fails an MenashMQ logs to user "[RabbitMQ Client] Starting reinitialize...". This does not allow monitoring of logs with their logging libraries.
Possible solution:
Add possibility of listening to "reinitialize event" so user can decide how to log the error.
maybe for simplifying, keep the default behaviour, because many clients will forget to listen to that event.
Example syntax