private static void DeclareInstance(QyfAsyncAppender instance)
 {
     lock (_synchro)
         _instances.Add(new WeakReference(instance));
 }
 /// <summary>
 /// Configures log4net with an async appender forwarding
 /// </summary>
 /// <param name="appender">The output appender.</param>
 public static void ConfigureBasicLog(IAppender appender)
 {
     var final = new QyfAsyncAppender();
     final.AddAppender(appender);
     final.ActivateOptions();
     BasicConfigurator.Configure(final);
 }