New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove dependency of Serilog #74
Comments
Why should I? It's honestly the best logging framework I have worked with until now... |
Because there are a lot of logging frameworks. Dependency of any logging framework from general use library is not a good idea. This dependency may violate some rules for application and library cannot be used. |
I have thought a bit about this and I agree. I will check this and see what I can do. |
Although I agree that depending on SeriLog is overkill, I think the library should allow for some optional logging mechanism. This can be achieved easily by depending only on the Microsoft.Extensions.Logging.Abstractions and optionally the default ILogger or any compatible logging framework (including SeriLog if desired) or null if logging is not required. The library would prefix all local ILogger calls with the null check operator to handle the null logger case. |
The question is if we really need it. There was only debugging logs in the code. I mean, I can add it if desired. |
@SeppPenner , On the NuGet side 1.3.4 is not available. So do 1.3.3 and 1.3.4 have the same code? |
@malavvvakharia I guess, I forgot to push it. Should be there soon 😅 |
Please remove dependency of Serilog.
The text was updated successfully, but these errors were encountered: