Beispiel #1
0
 private static void SaveLog(string filePath, string fileName, string text)
 {
     try
     {
         RecordFile.CreateDirectorIfNotExisty(filePath);
         string file = $"{filePath}{fileName}";
         RecordFile.SaveFile(file, text);
     }
     catch (Exception)
     {
         string textException = MessagesOfReturn.ErrorAccessPath(fileName, filePath);
         RecordFile.SaveFile(Option.PathFileLogError, textException);
     }
 }