Skip to content

Commit

Permalink
Support for reading compressed files. Fix #45
Browse files Browse the repository at this point in the history
  • Loading branch information
LiorBanai committed Jul 22, 2020
1 parent 8f6c3ca commit 6e1c754
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Analogy.LogViewer.Serilog/Analogy.LogViewer.Serilog.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
<PackageIcon>AnalogySerilog.png</PackageIcon>
<PackageIconUrl />
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>1.2.4.1</Version>
<AssemblyVersion>1.2.4.1</AssemblyVersion>
<Version>1.2.5</Version>
<AssemblyVersion>1.2.5.0</AssemblyVersion>
<Company>Analogy.LogViewer</Company>
<FileVersion>1.2.4.1</FileVersion>
<FileVersion>1.2.5.0</FileVersion>
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
</PropertyGroup>

Expand All @@ -40,7 +40,7 @@
</PackageReference>
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="Serilog" Version="2.9.0" />
<PackageReference Include="System.Resources.Extensions" Version="4.6.0"/>
<PackageReference Include="System.Resources.Extensions" Version="4.6.0" />
</ItemGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions Analogy.LogViewer.Serilog/ChangeLogList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ public static class ChangeLogList
{
public static IEnumerable<AnalogyChangeLog> GetChangeLog()
{
yield return new AnalogyChangeLog("Support for reading compressed files. #45", AnalogChangeLogType.Improvement, "Lior Banai", new DateTime(2020, 07, 22));
yield return new AnalogyChangeLog("Duplicated/Extra columns with the dynamic columns feature. #44", AnalogChangeLogType.Improvement, "Lior Banai", new DateTime(2020, 07, 10));
yield return new AnalogyChangeLog("Add dynamic columns per file properties. #43", AnalogChangeLogType.Improvement, "Lior Banai", new DateTime(2020, 07, 03));
yield return new AnalogyChangeLog("Initial version", AnalogChangeLogType.None, "Lior Banai", new DateTime(2019, 12, 14));
Expand Down
4 changes: 2 additions & 2 deletions Analogy.LogViewer.Serilog/SerilogSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public SerilogSettings()
Format = SerilogFileFormat.CLEF;
Directory = string.Empty;
IgnoredAttributes = new List<string>() { "N" };
FileOpenDialogFilters = "All Supported formats (*.Clef;*.log)|*.clef;*.log|Clef format (*.clef)|*.clef|Plain log text file (*.log)|*.log";
SupportFormats = new List<string> { "*.Clef", "*.log" };
FileOpenDialogFilters = "All Supported formats (*.Clef;*.log;*.gz)|*.clef;*.log;*.gz|Clef format (*.clef)|*.clef|Plain log text file (*.log)|*.log|GZIP file (*.gz)|*.gz";
SupportFormats = new List<string> { "*.Clef", "*.log", "*.gz" };
RegexPatterns = new List<RegexPattern>();
RegexPatterns.Add(new RegexPattern(@"\$(?<Date>\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2},\d{3})+\|+(?<Thread>\d+)+\|(?<Level>\w+)+\|+(?<Source>.*)\|(?<Text>.*)", "yyyy-MM-dd HH:mm:ss,fff", ""));

Expand Down

0 comments on commit 6e1c754

Please sign in to comment.