Page Comparison - Custom InspectCode Issue Logger (v.4 vs v.5)

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Add additional reference to JetBrains.CommandLine.InspectCode.Unattended library from CLT distribution.
  • Implement you your own logic of IInspectCodeConsumer
    Code Block
    csharp
    csharp
      public class IssueLogger : IInspectCodeConsumer
      {
        void IDisposable.Dispose() { }
    
        public void Consume(IIssue issue)
        {
          Console.WriteLine("{0}({1}) {2}", issue.File, issue.Range, issue.Message);
        }
      }
    

...