-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Factor LibraryImports into Common\ for System.Diagnostics.EventLog #109196
base: main
Are you sure you want to change the base?
Conversation
src/libraries/System.Diagnostics.EventLog/System.Diagnostics.EventLog.sln
Outdated
Show resolved
Hide resolved
I'm not so sure this is better actually. All of these are for a very narrow scenario. I think I prefer them to be in a single file rather than spread across multiple. I realize it is against the recommendation, but these are all niche enough being in the same file just seems better. /cc @dotnet/dotnet-diag |
Including @dotnet/area-system-diagnostics-eventlog |
Hm, that's a design question. I have no idea if there are any other projects in the runtime repo that could use the wevtapi, but I think the primary consumer remains System.Diagnostics.EventLog. Personally, I find the approach with the individual files better and more structured, but that's probably a subjective thing. Another question is how to proceed with the EventLogHandle (internal). Are handles something that belongs in the Common\ folder or not? |
Tagging subscribers to this area: @dotnet/area-system-diagnostics-eventlog |
Hey @ericstj, I think this is your area. Could you review the PR 😄? |
https://github.com/orgs/dotnet/teams/area-system-diagnostics-eventlog - @ViktorHofer @carlossanlop can you chime in. I tend to share @noahfalk's opinion here. I don't like churning all this code without a good reason. If you really needed to share this code then that might be a good reason. If not then it's just risk in a library that's legacy. We do document a higher bar for this library: https://github.com/dotnet/runtime/blob/main/src/libraries/System.Diagnostics.EventLog/README.md#contribution-bar |
@ericstj Why is System.Diagnostics.EventLog actually legacy? Even though I am a fan of ASP.NET applications on Linux instances, there are cases where applications are deployed on Windows. |
Factor LibraryImports into Common\ - See #28035