public LogMonitor(string LogPath) { if(!IsValidLogPath(LogPath)) throw new ArgumentException("The log path specified was invalid."); this.LogPath = LogPath; }