glazkovalex / Rebus.Kafka

Apache Kafka transport for Rebus
MIT License
16 stars 6 forks source link

Align the logging approach with Microsoft and Rebus guidelines. #13

Closed idoroshenko closed 1 month ago

idoroshenko commented 1 month ago
  1. Align the logging approach with Microsoft and Rebus guidelines.
  2. Provide the ability to access an Error object in the custom ILog implementations.

Reasoning: We have a request in our project to handle connectivity and network errors differently. That's achievable by implementing a custom ILog logger class and reading the ErrorCode property of the Error class. So it would be useful to have an Error object available also from the Rebus.Kafka originated errors.