wagslane / go-rabbitmq

A wrapper of streadway/amqp that provides reconnection logic and sane defaults
https://blog.boot.dev/golang/connecting-to-rabbitmq-in-golang-easy/
MIT License
805 stars 128 forks source link

Remove tracef from logger interface #138

Closed abbasegbeyemi closed 1 year ago

abbasegbeyemi commented 1 year ago

The default logger interface expects Tracef to be implemented by any logger passed, however for people using zap logger we have to go through extra steps to be able to pass a sugared logger as the logger to use. Since Tracef is not actually used in any part of the codebase, I think it is safe to remove from the interface.