private static void PrintPackageIssue(IPackageVerifierLogger logger, IssueReport issue) { var issueInfo = issue.PackageIssue.IssueId; if (issue.PackageIssue.Instance != null) { issueInfo += " @ " + issue.PackageIssue.Instance; } logger.Log(issue.IssueLevel, "{0}: {1}", issueInfo, issue.PackageIssue.Issue); if (issue.IgnoreJustification != null) { logger.Log(issue.IssueLevel, "Justification: {0}", issue.IgnoreJustification); } }
private static void PrintPackageIssue(IPackageVerifierLogger logger, IssueReport issue) { // TODO: Support this: https://confluence.jetbrains.com/display/TCD8/Build+Script+Interaction+with+TeamCity var issueInfo = issue.PackageIssue.IssueId; if (issue.PackageIssue.Instance != null) { issueInfo += " @ " + issue.PackageIssue.Instance; } logger.Log(issue.IssueLevel, "{0}: {1}", issueInfo, issue.PackageIssue.Issue); if (issue.IgnoreJustification != null) { logger.Log(issue.IssueLevel, "Justification: {0}", issue.IgnoreJustification); } }