-
Notifications
You must be signed in to change notification settings - Fork 455
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
Deleting obsolete Castle.Facilities.Logging
code, handling FacilityConfig
#616
Comments
The Without digging into the code and trying to replicate the same change I don't follow what the problems you are facing. Could you summarise your findings and what's a blocker? |
The difficulty is in the part around reading My proposal, having had another read through the code, is that if Does this seem reasonable? |
Reopening after being automatically closed by #636. This one was about removing old code using |
While looking at adding
net6.0
as a target, I took a look atCastle.Facilities.Logging
(there is a reference toDiagnosticsLoggerFactory
which theoretically can work undernet6.0-win
but not with the way the code is currently structured). I noticed how much isobsolete
in this project, since 2017, so took a look at removing code.I'm struggling with how to handle
ReadLoggingApi
:Windsor/src/Castle.Facilities.Logging/LoggingFacility.cs
Lines 399 to 410 in 5a32d4f
The
LoggerImplementation
enum is marked obsolete, so looking atFacilityConfig.Attributes["loggingApi"]
for the type to create is made more complicated. Any thoughts on how to handle this? Is configuration viaFacilityConfig
common?The text was updated successfully, but these errors were encountered: