public void AddLog(ALogInfo log)
        {
            if (log == null)
            {
                return;
            }

            lock (m_lstLog)
            {
                m_lstLog.Add(log);
            }
        }
        public ALogInfo GetFirstLog()
        {
            ALogInfo log = null;

            lock (m_lstLog)
            {
                if (m_lstLog.Count > 0)
                {
                    log = m_lstLog[0];
                    m_lstLog.RemoveAt(0);
                }
            }

            return(log);
        }
        private void DoWriteLog()
        {
            ALogInfo log = null;

            log = GetFirstLog();
            if (log == null)
            {
                return;
            }

            if (log.m_strFileExt == "")
            {
                WriteLogFile(log.m_dtDateTime, log.m_strData);
            }
            else
            {
                WriteLogFile(log.m_dtDateTime, log.m_strData, log.m_strFileExt);
            }

            log = null;
        }