public void Install(Castle.Windsor.IWindsorContainer container, Castle.MicroKernel.SubSystems.Configuration.IConfigurationStore store)
{
container.Register(Component.For<ILog>().Instance(createLogger(log4net.Core.Level.All)).LifeStyle.Singleton);
container.Register(Component.For<IDeviceService>().ImplementedBy<DeviceService>().LifeStyle.Singleton);
}