예제 #1
0
 public async static void WriteInConsumerLogFile(string tenant, string product, string component, string topic, string consumerName, string rowLog)
 {
     try
     {
         await File.AppendAllTextAsync(ConsumerLocations.GetConsumerStateWeekLogFile(tenant, product, component, topic, consumerName), $"{rowLog}\n");
     }
     catch (Exception)
     {
         // TODO: handle this exception
     }
 }