private void logToFile(string getLogName, string getText)
        {
            LoggerFactory fileFactory = LoggerFactoryProvider.GetLoggerFactory(LoggerTypes.TxtLogger);
            IMyLogger     fileLogger  = fileFactory.CreateLogger();

            fileLogger.LogMessage(getLogName, getText);
        }
 private void logToAllDestinations(string getLogName, string getText)
 {
     foreach (var loggerFactory in LoggerFactoryProvider.GetAllLoggerFactories())
     {
         IMyLogger currentLogger = loggerFactory.CreateLogger();
         currentLogger.LogMessage(getLogName, getText);
     }
 }