hank
2015-08-24 8330cf8550186d155216692f9da12026c320d917
CCSTrace/CCS/CCSMain.cs
@@ -415,11 +415,24 @@
            return _Record;
        }
        RecordLog _PLog = new RecordLog(CCS.LocalVariable.CCS_ListPath + "MAIN.txt");
        private void Log(String message)
        {
            _PLog.Error(message);
            _PLog.Close();
            RecordLog _PLog = null;
            try
            {
                _PLog = new RecordLog(CCS.LocalVariable.CCS_ListPath + "MAIN.txt");
                _PLog.Error(message);
            }
            catch
            {
            }
            finally
            {
                if (_PLog != null)
                {
                    _PLog.Close();
                }
            }
        }
    }