protected static void RemoveLogger(LogIdentity logIdentity)
 {
     lock (_logAccessLock)
     {
         if (_loggerCollection.Contains(logIdentity.ToString()))
         {
             _loggerCollection.Remove(logIdentity.ToString());
         }
     }
 }
 protected static Logger GetLogger(LogIdentity logIdentity)
 {
     Logger logger = null;
     lock (_logAccessLock)
     {
         if (_loggerCollection.Contains(logIdentity.ToString()))
         {
             logger = (Logger) _loggerCollection[logIdentity.ToString()];
         }
     }
     return logger;
 }