public WhenCheckingCanParseMessage() { var extendedProperties = new FakeExtendedProperties { { "pattern", "ExactMatch" }, { "options", "None" } }; messageParser = new RegexParser(processRetriever.Object, extendedProperties); }
public WhenParsingNonGroupedMessage() { var extendedProperties = new FakeExtendedProperties { { "pattern", @"[^:]+: [A-Z]{5} \[[\d]\] - [\w]+ - .*" }, { "options", "IgnoreCase" } }; messageParser = new RegexParser(processRetriever.Object, extendedProperties); }
public WhenParsingNonGroupedMessage() { var extendedProperties = new FakeExtendedProperties { { "pattern", @"[^:]+: [A-Z]{5} \[[\d]\] - [\w]+ - .*" }, { "options", "IgnoreCase" } }; messageParser = new RegexParser(processRetriever.Object, extendedProperties); }
public WhenCheckingCanParseMessage() { var extendedProperties = new FakeExtendedProperties { { "pattern", "ExactMatch" }, { "options", "None" } }; messageParser = new RegexParser(processRetriever.Object, extendedProperties); }
public WhenParsingGroupedMessage() { var extendedProperties = new FakeExtendedProperties { { "pattern", @"(?<logger>[^:]+): (?<level>[A-Z]+) \[(?<thread>[\d])\] - (?<username>[\w]+) - (?<message>(.*\r*\n*)*)" }, { "options", "ExplicitCapture,IgnoreCase" } }; messageParser = new RegexParser(processRetriever.Object, extendedProperties); }
public WhenParsingGroupedMessage() { var extendedProperties = new FakeExtendedProperties { { "pattern", @"(?<logger>[^:]+): (?<level>[A-Z]+) \[(?<thread>[\d])\] - (?<username>[\w]+) - (?<message>(.*\r*\n*)*)" }, { "options", "ExplicitCapture,IgnoreCase" } }; messageParser = new RegexParser(processRetriever.Object, extendedProperties); }
public WhenParsingFullMessage() { messageParser = new Log4JParser(processRetriever.Object, new FakeExtendedProperties()); }
public WhenCheckingCanParseMessage() { messageParser = new DefaultParser(processRetriever.Object, new FakeExtendedProperties()); }
public WhenParsingMessage() { messageParser = new DefaultParser(processRetriever.Object, new FakeExtendedProperties()); }
public WhenParsingFullMessage() { messageParser = new Log4NetParser(processRetriever.Object, new FakeExtendedProperties()); }
public WhenCheckingCanParseMessage() { messageParser = new Log4JParser(processRetriever.Object, new FakeExtendedProperties()); }