Any plans on not having specific log implementation dependencies #185
Replies: 3 comments 2 replies
-
This is the first request to do so which I'm definitely open to. How would you prefer to see the logging? With ILoggerFactory? |
Beta Was this translation helpful? Give feedback.
-
If in a project where dependency injection is used via Microsoft's IoC container construct, I guess something like If not in an environment with dependency injection via IoC container from Microsoft, I guess we would have to provide an Last resort would be to hook in custom logger implementation where we would proxy the calls "manually" to the logging provider of choice (or Microsofts abstractions). I would say this one is OK if we are never meant to consume the logs that your package provide. Then you could have a HiveMqtt.Logging.NLog package that would hook into this. |
Beta Was this translation helpful? Give feedback.
-
@pglombardo, would you add this as an issue? I think this would be good practice. |
Beta Was this translation helpful? Give feedback.
-
Was about to start evaluating your client but then saw that you have a dependency on NLog instead of the logging abstractions in .Net.
Are there any plans on changing this and get a more lean package? Why should we have to buy into a certain logging framework? What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions