Analogy.LogViewer.Serilog
7.1.0
dotnet add package Analogy.LogViewer.Serilog --version 7.1.0
NuGet\Install-Package Analogy.LogViewer.Serilog -Version 7.1.0
<PackageReference Include="Analogy.LogViewer.Serilog" Version="7.1.0" />
paket add Analogy.LogViewer.Serilog --version 7.1.0
#r "nuget: Analogy.LogViewer.Serilog, 7.1.0"
// Install Analogy.LogViewer.Serilog as a Cake Addin #addin nuget:?package=Analogy.LogViewer.Serilog&version=7.1.0 // Install Analogy.LogViewer.Serilog as a Cake Tool #tool nuget:?package=Analogy.LogViewer.Serilog&version=7.1.0
Analogy LogViewer Serilog
Serilog Parser for Analogy Log Viewer. | Nuget | Version | Description | |----------|:-------------:|------| | Analogy.LogViewer.Serilog | | Serilog Extension for Analogy Log viewer (this package) | | Analogy.LogViewer.Serilog.Sinks | | Serilog Sink for sending logs to Analogy Log server |
Supported formatters, for now, are:
Compact formatting
Compact formatting. The initial version is based on this project
example log:
{"@t":"2016-10-12T04:46:58.0554314Z","@mt":"Hello, {@User}","User":{"Name":"nblumhardt","Id":101}}
{"@t":"2016-10-12T04:46:58.0684369Z","@mt":"Number {N:x8}","@r":["0000002a"],"N":42}
{"@t":"2016-10-12T04:46:58.0724384Z","@mt":"Tags are {Tags}","@l":"Warning","Tags":["test","orange"]}
{"@t":"2016-10-12T04:46:58.0904378Z","@mt":"Something failed","@l":"Error", "@x":"System.DivideByZer...<snip>"}
Regular Expression Parser
Regular Expression Parser: in this mode you need to define your custom regex to match you log format in the application settings.
for example, with the above regex: in the screenshot this example log can be parsed:
$2020-04-24 13:18:23,207|1|INFO|logsource|My Manager App Starting...
$2020-04-24 13:28:24,380|1|WARN|files|file not found
$2020-04-24 13:48:27,193|2|INFO|AppBase|Loading done
the available tags to use for parsing are:
public enum AnalogyLogMessagePropertyName
{
Date,
ID,
Text,
Category,
Source,
Module,
MethodName,
FileName,
User,
LineNumber,
ProcessId,
ThreadId,
Level,
Class,
MachineName,
}
History
V3.6.1(01.02.2023):
- https://github.com/Analogy-LogViewer/Analogy.LogViewer.Serilog/issues/499: Can't parse dictionary that contains an empty key #499
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-windows7.0 is compatible. net9.0-windows7.0 is compatible. |
.NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- Analogy.CommonUtilities (>= 7.1.0)
- Analogy.LogViewer.Interfaces (>= 7.1.0)
- Analogy.LogViewer.Template (>= 7.1.0)
- Microsoft.Bcl.HashCode (>= 6.0.0)
- Newtonsoft.Json (>= 13.0.3)
- Serilog (>= 4.1.0)
- System.Resources.Extensions (>= 9.0.0)
-
net8.0-windows7.0
- Analogy.CommonUtilities (>= 7.1.0)
- Analogy.LogViewer.Interfaces (>= 7.1.0)
- Analogy.LogViewer.Template (>= 7.1.0)
- Newtonsoft.Json (>= 13.0.3)
- Serilog (>= 4.1.0)
- System.Resources.Extensions (>= 9.0.0)
-
net9.0-windows7.0
- Analogy.CommonUtilities (>= 7.1.0)
- Analogy.LogViewer.Interfaces (>= 7.1.0)
- Analogy.LogViewer.Template (>= 7.1.0)
- Newtonsoft.Json (>= 13.0.3)
- Serilog (>= 4.1.0)
- System.Resources.Extensions (>= 9.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Analogy.LogViewer.Serilog:
Repository | Stars |
---|---|
Analogy-LogViewer/Analogy.LogViewer
A customizable Log Viewer with ability to create custom providers. Can be used with C#, C++, Python, Java and others
|
Version | Downloads | Last updated |
---|---|---|
7.1.0 | 75 | 11/16/2024 |
7.0.0 | 668 | 8/29/2024 |
6.0.2 | 1,046 | 6/27/2024 |
6.0.1 | 4,532 | 1/27/2024 |
6.0.0 | 1,647 | 11/16/2023 |
5.0.3 | 1,089 | 9/2/2023 |
5.0.1 | 201 | 8/29/2023 |
5.0.0 | 295 | 8/4/2023 |
3.8.3.1 | 499 | 5/12/2023 |
3.8.3 | 426 | 3/31/2023 |
3.8.2 | 387 | 3/10/2023 |
3.7.0 | 275 | 3/6/2023 |
3.6.2 | 394 | 2/13/2023 |
3.6.1 | 369 | 2/1/2023 |
3.6.0 | 425 | 12/30/2022 |
3.5.1 | 408 | 12/13/2022 |
3.5.0 | 490 | 11/9/2022 |
3.4.0 | 441 | 10/27/2022 |
2.7.2 | 521 | 10/10/2022 |
2.7.1 | 554 | 9/16/2022 |
2.7.0 | 469 | 9/14/2022 |
2.6.6 | 654 | 8/15/2022 |
2.6.5 | 465 | 8/12/2022 |
2.6.4 | 773 | 6/25/2022 |
2.6.3 | 610 | 6/18/2022 |
2.6.2 | 531 | 6/10/2022 |
2.6.1 | 600 | 5/31/2022 |
2.6.0 | 848 | 4/4/2022 |
2.5.5-rc | 170 | 4/4/2022 |
2.5.4-rc | 219 | 4/1/2022 |
2.5.3-rc | 174 | 4/1/2022 |
2.5.2-rc | 159 | 4/1/2022 |
2.5.1 | 482 | 1/7/2022 |
2.5.0 | 496 | 11/9/2021 |
2.4.4 | 637 | 8/7/2021 |
2.4.3 | 345 | 8/7/2021 |
2.4.2.1 | 735 | 7/26/2021 |
2.4.2 | 506 | 7/9/2021 |
2.4.1 | 664 | 5/6/2021 |
2.4.0 | 500 | 4/30/2021 |
2.3.2.1 | 625 | 3/27/2021 |
2.3.2 | 476 | 3/23/2021 |
2.3.1 | 880 | 2/13/2021 |
2.3.0 | 438 | 2/11/2021 |
2.2.2.2 | 481 | 1/30/2021 |
2.2.2.1 | 727 | 1/4/2021 |
2.2.2 | 894 | 12/7/2020 |
2.2.1 | 644 | 12/2/2020 |
2.2.0.2 | 463 | 12/1/2020 |
2.2.0.1 | 449 | 12/1/2020 |
2.2.0 | 423 | 12/1/2020 |
2.1.4.1 | 970 | 10/30/2020 |
2.1.4 | 561 | 10/26/2020 |
2.1.3 | 670 | 10/25/2020 |
2.1.2 | 721 | 10/24/2020 |
2.1.1 | 657 | 10/21/2020 |
2.1.0 | 574 | 10/18/2020 |
2.0.2 | 603 | 10/13/2020 |
2.0.1 | 697 | 10/5/2020 |
2.0.0 | 761 | 9/26/2020 |
1.3.6 | 633 | 9/16/2020 |
1.3.5 | 549 | 9/15/2020 |
1.3.4 | 547 | 9/13/2020 |
1.3.3 | 536 | 9/12/2020 |
1.3.2 | 541 | 9/11/2020 |
1.3.1 | 516 | 9/11/2020 |
1.3.0 | 726 | 9/7/2020 |
1.2.5.5 | 649 | 9/4/2020 |
1.2.5.4 | 617 | 9/3/2020 |
1.2.5.3 | 704 | 8/25/2020 |
1.2.5.2 | 749 | 8/23/2020 |
1.2.5.1 | 700 | 8/10/2020 |
1.2.5 | 788 | 7/22/2020 |
1.2.4.1 | 565 | 7/18/2020 |
1.2.4 | 700 | 7/16/2020 |
1.2.3 | 809 | 7/10/2020 |
1.2.2 | 629 | 7/9/2020 |
1.2.1 | 679 | 7/5/2020 |
1.1.10 | 698 | 6/20/2020 |
1.1.9 | 494 | 6/19/2020 |
1.1.8 | 506 | 6/12/2020 |
1.1.7 | 717 | 5/2/2020 |
1.1.6 | 575 | 5/2/2020 |
1.1.5 | 550 | 4/29/2020 |
1.1.4 | 516 | 4/27/2020 |
1.1.3 | 553 | 4/25/2020 |
1.1.2 | 594 | 4/15/2020 |
1.1.1 | 621 | 4/11/2020 |
1.1.0 | 616 | 3/30/2020 |
1.0.2.1 | 629 | 3/15/2020 |
1.0.0 | 589 | 3/5/2020 |
Analogy Serilog Parsers