Closed wneessen closed 1 year ago
Theoretically multiple can be supported relatively easily using the method described in the comment. As users can just provide a decorator that implements the Logger
for their particular logging provider. So overall this is a really nice idea (I did think of it when I saw it but forgot to post due to being busy lol!).
Is your feature request related to a problem? Please describe.
As stated in https://github.com/wneessen/go-mail/pull/102#issuecomment-1411956040, we should rather use a logger intreface, so the user can decide which kind of logger they want to use.
Describe the solution you'd like
We provide a simple
Logger
interface that can be implemented easily:Describe alternatives you've considered
No response
Additional context
No response