Forex_Strategy_Builder.Data.CloseLogFile C# (CSharp) Method

CloseLogFile() public static method

Closes the log file.
public static CloseLogFile ( ) : void
return void
        public static void CloseLogFile()
        {
            // Closes the log file
            if (toLog == true)
            {
                swLogFile.Flush();
                swLogFile.Close();
                toLog = false;
            }
        }