/// <summary> /// Stops logging operations /// </summary> /// <param name="ForceStop">If this is set to true, all remaining queued messages will be dropped</param> public void Stop(bool ForceStop = false) { // Set whether or not the logger will ignore the remaining queue IgnoreQueue = ForceStop; // Stop the logging thread StopEvent.Set(); LoggerThread.Join(); }
/// <summary> /// Starts logging operations /// </summary> public void Start() { // Start the logging thread LoggerThread.Start(); }