lp:~frankabel/siton/parse-log-base-classes
- Get this branch:
- bzr branch lp:~frankabel/siton/parse-log-base-classes
Branch merges
Branch information
Recent revisions
- 20. By Frank Abel
-
Add LogFile.
ReadNextLogEntr y, LogFile. GetNextEntry and LogFile. SeeNextEntry methods. Fix syntax error in LogsFiles.
GetEnumerator and LogFile. ReadNextLogEntr y methods. Add the LogEntry.IsEmpty property.
Fix unreachable code in LogFile.
GetNextEntry. - 19. By Frank Abel
-
At first we though get the log entries of a given set of log files, represented with the class LogsFiles, making LogsFiles classes implement the interface ILogEntriesCont
ainer.
That seen nice and logical at first but when implementation time come, the impractical aspects of such design raise.
Example of such impractical aspects of the implementation is the code needed to keep the ILogEntriesContainer.ReadBytes method mapped to the ILogEntriesCont ainer.ReadBytes method of the current(the one from witch next log entry must be read) log file.
Beside, we found that is not so bad get the log entries of a give set of log files iterating by an instance of LogsFiles.
So this commit remove the LogsFiles ILogEntriesContainer "implementation". Doc fixes.
- 17. By Frank Abel
-
Fix the LogsFiles.
RegexToExtractT imeFromName validation. Add the LogFile.orderBy property.
Doc update.
Add the IComparableLogFile interface and its implementation in LogFile and update LogFile.IsInRange accord.
Fix bug regard the orderBy property in LogFile constructor.
- 15. By Frank Abel
-
Minor changes in LogsFiles.
IncludeFileName sRegex and LogsFiles. ExcludeFileName sRegex properties. Add validation to LogsFiles.
RegexToExtractT imeFromName, LogsFiles. TimeDelta, LogsFiles.OrderBy and LogsFiles. WayToGetTimeRan ge properties. Change the default value of LogsFiles.TimeDelta property.
System.TimeSpan is an structure and can't be null, so we must update its validation in the LogFile constructor.
Doc updates.
- 14. By Frank Abel
-
Add validation to avoid assign to the LogsFiles.
IncludeFileName sRegex and LogsFiles. ExcludeFileName sRegex properties a null value. Update its doc too.
- 12. By Frank Abel
-
Add constructor to the LogEntry and its descendants.
Add the LogEntry.Hydrate abstract method and implement it as sealed in its base class TextLogEntry.
- 11. By Frank Abel
-
Rename the LogsFiles.
LogsDirectory property. Add the LogsFiles.
logsFilesList property.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:siton