Simple Injector and a Logging Abstraction Using Log4net
问题 In order to try and get a nice logging abstraction with Log4net, I took the abstraction from this SO post and the adapter from this SO post and tried to get them working together. All that was really left to do was configure the container and that is the part which I have not succeeded in doing. The config which I have tried is public static class InfrastructureRegistry { public static void RegisterLoggingServices(this Container container) { container.RegisterConditional(typeof(ILog), c =>