private static Type FindLoggerFactory(string scheme)
{
if(LOGGER_FACTORY_TYPES.ContainsKey(scheme))
{
return LOGGER_FACTORY_TYPES[scheme];
}
try
{
Type factoryType = FACTORY_FINDER.FindFactoryType(scheme);
LOGGER_FACTORY_TYPES[scheme] = factoryType;
return factoryType;
}
catch
{
throw new NMSException("Failed to find Factory for Recovery Logger type: " + scheme);
}
}