Analogy.LogViewer.Serilog 7.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Analogy.LogViewer.Serilog --version 7.0.0                
NuGet\Install-Package Analogy.LogViewer.Serilog -Version 7.0.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="7.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Analogy.LogViewer.Serilog --version 7.0.0                
#r "nuget: Analogy.LogViewer.Serilog, 7.0.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.
// Install Analogy.LogViewer.Serilog as a Cake Addin
#addin nuget:?package=Analogy.LogViewer.Serilog&version=7.0.0

// Install Analogy.LogViewer.Serilog as a Cake Tool
#tool nuget:?package=Analogy.LogViewer.Serilog&version=7.0.0                

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 net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible. 
.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
7.2.0 154 12/18/2024
7.1.0 398 11/16/2024
7.0.0 686 8/29/2024
6.0.2 1,056 6/27/2024
6.0.1 4,541 1/27/2024
6.0.0 1,655 11/16/2023
5.0.3 1,105 9/2/2023
5.0.1 209 8/29/2023
5.0.0 303 8/4/2023
3.8.3.1 507 5/12/2023
3.8.3 432 3/31/2023
3.8.2 397 3/10/2023
3.7.0 283 3/6/2023
3.6.2 402 2/13/2023
3.6.1 375 2/1/2023
3.6.0 433 12/30/2022
3.5.1 414 12/13/2022
3.5.0 496 11/9/2022
3.4.0 447 10/27/2022
2.7.2 529 10/10/2022
2.7.1 562 9/16/2022
2.7.0 475 9/14/2022
2.6.6 660 8/15/2022
2.6.5 471 8/12/2022
2.6.4 781 6/25/2022
2.6.3 616 6/18/2022
2.6.2 537 6/10/2022
2.6.1 606 5/31/2022
2.6.0 858 4/4/2022
2.5.5-rc 176 4/4/2022
2.5.4-rc 225 4/1/2022
2.5.3-rc 178 4/1/2022
2.5.2-rc 163 4/1/2022
2.5.1 492 1/7/2022
2.5.0 508 11/9/2021
2.4.4 645 8/7/2021
2.4.3 353 8/7/2021
2.4.2.1 743 7/26/2021
2.4.2 516 7/9/2021
2.4.1 672 5/6/2021
2.4.0 510 4/30/2021
2.3.2.1 633 3/27/2021
2.3.2 484 3/23/2021
2.3.1 888 2/13/2021
2.3.0 448 2/11/2021
2.2.2.2 489 1/30/2021
2.2.2.1 737 1/4/2021
2.2.2 902 12/7/2020
2.2.1 654 12/2/2020
2.2.0.2 473 12/1/2020
2.2.0.1 457 12/1/2020
2.2.0 431 12/1/2020
2.1.4.1 978 10/30/2020
2.1.4 569 10/26/2020
2.1.3 678 10/25/2020
2.1.2 729 10/24/2020
2.1.1 665 10/21/2020
2.1.0 582 10/18/2020
2.0.2 611 10/13/2020
2.0.1 707 10/5/2020
2.0.0 769 9/26/2020
1.3.6 641 9/16/2020
1.3.5 557 9/15/2020
1.3.4 561 9/13/2020
1.3.3 544 9/12/2020
1.3.2 549 9/11/2020
1.3.1 524 9/11/2020
1.3.0 734 9/7/2020
1.2.5.5 657 9/4/2020
1.2.5.4 625 9/3/2020
1.2.5.3 712 8/25/2020
1.2.5.2 763 8/23/2020
1.2.5.1 708 8/10/2020
1.2.5 796 7/22/2020
1.2.4.1 575 7/18/2020
1.2.4 708 7/16/2020
1.2.3 817 7/10/2020
1.2.2 637 7/9/2020
1.2.1 687 7/5/2020
1.1.10 706 6/20/2020
1.1.9 502 6/19/2020
1.1.8 514 6/12/2020
1.1.7 725 5/2/2020
1.1.6 583 5/2/2020
1.1.5 558 4/29/2020
1.1.4 524 4/27/2020
1.1.3 561 4/25/2020
1.1.2 602 4/15/2020
1.1.1 629 4/11/2020
1.1.0 624 3/30/2020
1.0.2.1 638 3/15/2020
1.0.0 597 3/5/2020

Analogy Serilog Parsers