예제 #1
0
        public List <LogStatement> Read()
        {
            if (!Directory.Exists(logConfig.GetFilePath()))
            {
                return(logBuffer);
            }

            while (File.Exists(logConfig.GetFullPath(fileIndex)))
            {
                ReadCurrentFile();
                fileIndex++;
            }

            return(logBuffer);
        }