From 51c9dc6c523373db1d7ee172a2afebae3188e3c3 Mon Sep 17 00:00:00 2001 From: Xjph Date: Wed, 21 Jul 2021 08:33:45 -0230 Subject: [PATCH] Update LogMonitor.cs fix minor spelling error --- ObservatoryCore/LogMonitor.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ObservatoryCore/LogMonitor.cs b/ObservatoryCore/LogMonitor.cs index f5d1eb9..fd57421 100644 --- a/ObservatoryCore/LogMonitor.cs +++ b/ObservatoryCore/LogMonitor.cs @@ -42,10 +42,10 @@ namespace Observatory public void Start() { - if (firstStarMonitor) + if (firstStartMonitor) { // Only pre-read on first start monitor. Beyond that it's simply pause/resume. - firstStarMonitor = false; + firstStartMonitor = false; PrereadJournals(); } journalWatcher.EnableRaisingEvents = true; @@ -86,7 +86,7 @@ namespace Observatory public void ReadAllJournals(string path) { // Prevent pre-reading when starting monitoring after reading all. - firstStarMonitor = false; + firstStartMonitor = false; readall = true; DirectoryInfo logDirectory = GetJournalFolder(path); var files = logDirectory.GetFiles("Journal.????????????.??.log"); @@ -167,7 +167,7 @@ namespace Observatory private Dictionary currentLine; private bool monitoring = false; private bool readall = false; - private bool firstStarMonitor = true; + private bool firstStartMonitor = true; #endregion