A facility for logging support.
TODO: Document its inner working and configuration scheme
Inheritance: Castle.MicroKernel.Facilities.AbstractFacility
        public IWindsorContainer ConfigureFacilities(IWindsorContainer container)
        {
            var facility = new LoggingFacility(LoggerImplementation.Console);
            container.AddFacility<FactorySupportFacility>();
            container.AddFacility("logging", facility);

            return container;
        }
 public virtual void CreateLoggingFacility(LoggingFacility f)
 {
     //Check log4net.config location, we can accept a local log4net.config
     //or a general one located in parent folder of the job
     var parentLog4net = new FileInfo("..\\log4net.config");
     Console.WriteLine("START: Searching log4net in: {0}", parentLog4net.FullName);
     if (parentLog4net.Exists) 
     {
         f.LogUsing(new ExtendedLog4netFactory(parentLog4net.FullName));
     }
     else
     {
         Console.WriteLine("FAILED: Searching log4net in: {0}", parentLog4net.FullName);
         var log4net = new FileInfo("log4net.config");
         Console.WriteLine("Use Default log4net in: {0}", log4net.FullName);
         if (!log4net.Exists)
         {
             Console.Error.WriteLine("ERROR, UNABLE TO FIND LOG4NET IN: {0}", log4net.FullName);
         }
         f.LogUsing(new ExtendedLog4netFactory(log4net.FullName));
     }
     
 }
		protected void RegisterLoggingFacility(IWindsorContainer container)
		{
			var logging = new LoggingFacility(LoggerImplementation.ExtendedLog4net);
			container.AddFacility(logging);

			memoryAppender = new MemoryAppender();
			BasicConfigurator.Configure(memoryAppender);
		}
 public override void CreateLoggingFacility(LoggingFacility f)
 {
     f.LogUsing<ExtendedConsoleLoggerFactory>();
 }
 public virtual void CreateLoggingFacility(LoggingFacility f)
 {
     f.LogUsing(new ExtendedLog4netFactory("log4net.config"));
 }
 public void Install(IWindsorContainer container, IConfigurationStore store)
 {
     IFacility logging = new LoggingFacility(LoggerImplementation.NLog, "NLog.config");
     container.AddFacility(logging);
 }