-
Notifications
You must be signed in to change notification settings - Fork 562
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
Consider Migrating to Microsoft.Extensions.Logging.ILogger #679
Comments
Hello! |
Hi, I see your point, and usually, I agree that is good to avoid those, but in this scenario, it is a Microsoft package, which is quite a small one because it contains only the "contracts" and also it is also commonly used in the .NET ecosystem. You can check the package here https://www.nuget.org/packages/Microsoft.Extensions.Logging.Abstractions/, you have the statistics available there. |
I wouldn't even call our logging "proprietary", as that implies that it's something someone would want to claim ownership of. I'd actually call it "janky" and "hacky" and "not very good". The reason it's stayed janky for this long is because we actually have multiple loggers going on; one main one and one for each socket thread. These should really be consolidated, but doing so going to be annoying and interface-breaking so I just haven't prioritized it. It is a mess that I'm very much looking forward to cleaning up, and I agree that ILogging is likely the best way to go. I'm hoping to attack it sometime this year. |
Great! Thanks for the feedback! |
Hi! My company's been using QuickFIX/n for a couple of years now, and we'd like to dedicate some time (essentially a Summer project) to improving the logging situation, and we agree that moving to Our key complaint is the lack of rolling, though it would also be nice if the QuickFIX logs could be co-mingled with our own and filtered by severity. If we were to start working on adopting |
For now we can somehow integrate popular logging framework (like NLog) but we unable to do proper message filtering and message severity. |
Hi,
Currently, this lib is using proprietary logging interfaces, but as you know in .NET Core the standard way to do logging is using Microsoft.Extensions.Logging.ILogger, which allows having some general .NET Core convention, besides that Microsoft has some built-in implementations, and also there is a variety of third-party logging providers for these interfaces.
This allows better compatibility with .NET Core or even .NET 5 ecosystems and is easy as well to plug some alarmistics based on log level.
Have you ever considered these changes?
Thank you.
The text was updated successfully, but these errors were encountered: