/// <summary> /// Starts the logging thread. /// </summary> public static void StartLogging() { // We don't want to start another if it's already running. if (logThread.Running) { return; } logThread.RunThread(); }
/// <summary> /// Starts the logging thread. /// </summary> public static void StartLogging() { // If the thread doesn't exist, we need to create it. We're assuming if they called this without configuration, we just want to start bare-bones. if (logThread == null) { ConfigureLogging(); } // We don't want to start another if it's already running. if (logThread.Running) { return; } logThread.RunThread(); }