123456789101112131415161718192021222324 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApp1.StringCheck
- {
- public static class StringCheck1
- {
- public static void Run()
- {
- var strings = File.ReadAllLines("2024-08-27.log");
- foreach (var s in strings) {
- if (s.Contains("completed_session") && !s.Contains("PeriodEnergy"))
- {
- Console.WriteLine(s);
- }
- }
- }
- public static string log = "";
- }
- }
|