![.NET Core Desktop](https://github.com/Analogy-LogViewer/Analogy.LogViewer.RegexParser/workflows/.NET%20Core%20Desktop/badge.svg) ![GitHub closed issues](https://img.shields.io/github/issues-closed-raw/Analogy-LogViewer/Analogy.LogViewer.RegexParser) [![Nuget](https://img.shields.io/nuget/v/Analogy.LogViewer.RegexParser)](https://www.nuget.org/packages/Analogy.LogViewer.RegexParser/)
In this parser you need to define your custom regex to match you log format in the applcation settings:
with the correct regular expression you can parse you custom format. For example: 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,
Thread,
Level,
Class,
}
which corresponding to AnalogyLogMessage fields