I edited the CustomParser template to adapt LogViewPlus to the type of my logs, and it works fine.
What I did there it just introduces the Priority based on some string in my log lines.
Now I would like to Implement a post-processor where if the message in the log entry contains the word "error" it changes the priority of the line to "Error".
In the CustomParser i would use this:
newEntry.Priority = "Info";
if (logLine.Contains("error"))
{
newEntry.Priority = "Error";
}But it's not working in the PostProcessor.
Any hint how do I do it?
Thanks in Advance for any advise!