/// <summary> /// Starts the Hearthstone log and process monitoring. /// </summary> /// <param name="hearthstonePath"> /// Optional path for the Hearthstone directory. /// Automatically determine from the process if not provided. /// </param> /// <param name="logDirectory"> /// Optional subdirectory to look for the log files in. /// This can be used when e.g. monitoring multiple instances of Hearthstone. /// </param> public void Start(string hearthstonePath = null, string logDirectory = "Logs") { if (_running) { return; } _running = true; _hearthstonePath = hearthstonePath; _logDirectory = logDirectory; _procWatcher.Run(); }