title: How can i ZipFile.CreateFromDirectory with Log.txt in c#
body: <p>My code:</p>
  
  <pre><code>public static string Source = @"\\192.168.181.1\Z$\z";
  
  public static string Destination = @"\\192.168.181.1\Z$\z_rar\" + DateTime.Now.ToString("dddd");
  
  public static string Extension = @".zip";
  
  
  private static void Main(string[] args)
  {
      if (File.Exists(Destination + Extension))
          try
          {
              File.Delete(Destination + Extension);
              ZipFile.CreateFromDirectory(Source, Destination + Extension, CompressionLevel.NoCompression, false);
              // here: zipped file details in txt file
          }
          catch (IOException e)
          {
              Console.WriteLine(e.Message);
          }
      else
          ZipFile.CreateFromDirectory(Source, Destination + Extension, CompressionLevel.NoCompression, false);
  }
  </code></pre>
  
  <p>How can i create zipped files details save to zipfilename_log.txt file (line by line) in same directory after zipfile.createfromdirectory ?</p>