Castle: How can i get the correct ILogger in the logging interceptor?
问题 If you are using the LoggingFacility in Castle Windsor the container will automatically resolve the logger associated with your class if you have optional logger dependencies in your class (an ILogger property that castle can inject the logger into), but how can I leverage the facility if I want to implement the logging using AOP (interceptor approach)? I basically want to write something like: public void Intercept(IInvocation invocation) { ILogger logger = LogManager.GetLogger(invocation