Analogy.LogViewer.Serilog 8.1.0

dotnet add package Analogy.LogViewer.Serilog --version 8.1.0
                    
NuGet\Install-Package Analogy.LogViewer.Serilog -Version 8.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Analogy.LogViewer.Serilog" Version="8.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Analogy.LogViewer.Serilog" Version="8.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Analogy.LogViewer.Serilog" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Analogy.LogViewer.Serilog --version 8.1.0
                    
#r "nuget: Analogy.LogViewer.Serilog, 8.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Analogy.LogViewer.Serilog@8.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Analogy.LogViewer.Serilog&version=8.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Analogy.LogViewer.Serilog&version=8.1.0
                    
Install as a Cake Tool

Analogy LogViewer Serilog

Serilog Parser for Analogy Log Viewer. | Nuget | Version | Description | |----------|:-------------:|------| | Analogy.LogViewer.Serilog | Nuget | Serilog Extension for Analogy Log viewer (this package) | | Analogy.LogViewer.Serilog.Sinks | Nuget | Serilog Sink for sending logs to Analogy Log server |

Supported formatters, for now, are:

  1. Compact formatting
  2. Regular Expression Parser
  3. Real Time Sink
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.

Serilog 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

Serilog Settings

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):

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net9.0-windows7.0 is compatible.  net10.0-windows was computed. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
8.1.0 306 4/9/2025
8.0.0 304 1/31/2025
8.0.0-a1 118 1/25/2025
7.2.0 569 12/18/2024
7.1.0 480 11/16/2024
7.0.0 750 8/29/2024
6.0.2 1,127 6/27/2024
6.0.1 4,603 1/27/2024
6.0.0 1,676 11/16/2023
5.0.3 1,458 9/2/2023
5.0.1 251 8/29/2023
5.0.0 352 8/4/2023
3.8.3.1 567 5/12/2023
3.8.3 494 3/31/2023
3.8.2 456 3/10/2023
3.7.0 345 3/6/2023
3.6.2 464 2/13/2023
3.6.1 438 2/1/2023
3.6.0 494 12/30/2022
3.5.1 480 12/13/2022
3.5.0 564 11/9/2022
3.4.0 515 10/27/2022
2.7.2 599 10/10/2022
2.7.1 630 9/16/2022
2.7.0 546 9/14/2022
2.6.6 733 8/15/2022
2.6.5 544 8/12/2022
2.6.4 857 6/25/2022
2.6.3 695 6/18/2022
2.6.2 613 6/10/2022
2.6.1 689 5/31/2022
2.6.0 944 4/4/2022
2.5.5-rc 253 4/4/2022
2.5.4-rc 302 4/1/2022
2.5.3-rc 258 4/1/2022
2.5.2-rc 244 4/1/2022
2.5.1 576 1/7/2022
2.5.0 593 11/9/2021
2.4.4 733 8/7/2021
2.4.3 437 8/7/2021
2.4.2.1 826 7/26/2021
2.4.2 606 7/9/2021
2.4.1 766 5/6/2021
2.4.0 603 4/30/2021
2.3.2.1 723 3/27/2021
2.3.2 576 3/23/2021
2.3.1 985 2/13/2021
2.3.0 544 2/11/2021
2.2.2.2 588 1/30/2021
2.2.2.1 836 1/4/2021
2.2.2 1,003 12/7/2020
2.2.1 756 12/2/2020
2.2.0.2 569 12/1/2020
2.2.0.1 555 12/1/2020
2.2.0 526 12/1/2020
2.1.4.1 1,081 10/30/2020
2.1.4 674 10/26/2020
2.1.3 780 10/25/2020
2.1.2 830 10/24/2020
2.1.1 766 10/21/2020
2.1.0 684 10/18/2020
2.0.2 711 10/13/2020
2.0.1 805 10/5/2020
2.0.0 871 9/26/2020
1.3.6 739 9/16/2020
1.3.5 658 9/15/2020
1.3.4 657 9/13/2020
1.3.3 646 9/12/2020
1.3.2 645 9/11/2020
1.3.1 621 9/11/2020
1.3.0 830 9/7/2020
1.2.5.5 754 9/4/2020
1.2.5.4 725 9/3/2020
1.2.5.3 809 8/25/2020
1.2.5.2 874 8/23/2020
1.2.5.1 808 8/10/2020
1.2.5 897 7/22/2020
1.2.4.1 675 7/18/2020
1.2.4 809 7/16/2020
1.2.3 915 7/10/2020
1.2.2 740 7/9/2020
1.2.1 791 7/5/2020
1.1.10 838 6/20/2020
1.1.9 602 6/19/2020
1.1.8 619 6/12/2020
1.1.7 830 5/2/2020
1.1.6 685 5/2/2020
1.1.5 663 4/29/2020
1.1.4 632 4/27/2020
1.1.3 668 4/25/2020
1.1.2 706 4/15/2020
1.1.1 736 4/11/2020
1.1.0 731 3/30/2020
1.0.2.1 742 3/15/2020
1.0.0 705 3/5/2020

Analogy Serilog Parsers