1#
  1. try

  2.                     {

  3.                         System.IO.File.AppendAllText(@"d:\Log\Log_Service\log.log",

  4.                             string.Format(@"cust:{0};path:{1}{2}", customerNo, filePath, Environment.NewLine));

  5.                     }

  6.                     catch (Exception)

  7.                     {

  8.                         //throw;

  9.                     }

复制代码