How to configure a logging interceptor for all registered type in Unity?
问题 I am going to trace every actions happened in the services which are managed by the Unity Container as logs in file system. I suppose I could define an interface named IService and all the other interfaces or implementation should inherit from him. On the other hand, I would like to develop a custom interception behavior or call handler to save the logs into files. Unfortunately, I found that it doesn't work for me by using this codes IUnityContainer unity = new UnityContainer(); /