lp:~frankabel/siton/parse-log-base-classes

Created by Frank Abel and last modified
Get this branch:
bzr branch lp:~frankabel/siton/parse-log-base-classes
Only Frank Abel can upload to this branch. If you are Frank Abel please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Frank Abel
Project:
Siton
Status:
Development

Recent revisions

20. By Frank Abel

Add LogFile.ReadNextLogEntry, LogFile.GetNextEntry and LogFile.SeeNextEntry methods.

Fix syntax error in LogsFiles.GetEnumerator and LogFile.ReadNextLogEntry 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 ILogEntriesContainer.
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 ILogEntriesContainer.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.

18. By Frank Abel

Add the LogsFiles.GetEnumerator method.

Doc fixes and additions.

17. By Frank Abel

Fix the LogsFiles.RegexToExtractTimeFromName 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.

16. By Frank Abel

Add validation to the LogEntry.SetLog method.

15. By Frank Abel

Minor changes in LogsFiles.IncludeFileNamesRegex and LogsFiles.ExcludeFileNamesRegex properties.

Add validation to LogsFiles.RegexToExtractTimeFromName, LogsFiles.TimeDelta, LogsFiles.OrderBy and LogsFiles.WayToGetTimeRange 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.IncludeFileNamesRegex and LogsFiles.ExcludeFileNamesRegex properties a null value.

Update its doc too.

13. By Frank Abel

Add the LogFile class.

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
This branch contains Public information 
Everyone can see this information.