Open TheTribe opened 11 years ago
Should also consider the addition of an automatic-inclusion path for IoC. I think Autofac's IRegistrationSource
is the way to go there; not sure about the other flavors
Found the solution for Castle: use an IModelnterceptorsSelector
. This will allow the exact same functionality as Autofac's IRegistrationSource
.
Wow, I've lost my mind. This is already done; I could've sworn it was still outstanding but nope, LoggingInterceptor is in and it's got good test coverage. Its specifications still need to be expanded to include all IoC flavors and the question of IModelInterceptorsSelector
and whatever Ninject prescribes is still open, so this ticket is still valid, but it should've been titled: "New types: AutoLoggingRegistrationSource
, AutoLoggingInterceptorsSelector
, and AutoLoggingWhateverNinjectUses
"
Need a new type,
LoggingInterceptor
, that implementsIInterceptor
from Castle.Core; should rely onILog
to log appropriate events. Need integration with IoC along with this== EDIT: See comments for issue details ==