protected override void LogMatchingResult(MatchingResult matchingResult) { var matchingResultDto = MatchingResultDto.CreateFromMatchingResult(matchingResult, SourceCodeRepository); var json = JsonConvert.SerializeObject(matchingResultDto, Formatting.Indented); NLogConsoleLogger.Info("Pattern matched:"); NLogConsoleLogger.Info(json); NLogConsoleLogger.Info(""); FileLogger.Info("Pattern matched:" + Environment.NewLine + json + Environment.NewLine); MatchLogger.Info(json); }
public MathingResultDtoWrapper(MatchingResultDto matchingResult) { MatchingResult = matchingResult; }