AcTools.Utils.LogWatcher.GetAll C# (CSharp) 메소드

GetAll() 공개 메소드

public GetAll ( ) : string[]
리턴 string[]
        public string[] GetAll() {
            if (File.Exists(_tempFile)) {
                File.Delete(_tempFile);
            }

            File.Copy(_logFile, _tempFile);
            var result = File.ReadAllLines(_tempFile);
            File.Delete(_tempFile);

            _prev = result.Length;
            return result;
        }