Exemple #1
0
        public Form1()
        {
            InitializeComponent();
            _reader        = new LogReader();
            _readLogThread = new Thread(ReadFromLogFile);

            SleepIntervalUpDown.Value = 1;
            _sleepIntervalMS          = (int)(SleepIntervalUpDown.Value * 1000);
        }
Exemple #2
0
        static void Main(string[] args)
        {
            LogReader logReader = new LogReader();

            Console.WriteLine($"Errors: {logReader.GerErrorsCount()}");
            Console.WriteLine(logReader.GetLogMetadata());

            Console.WriteLine("DONE.");
            Console.ReadLine();
        }