1

I have a Dynamics CRM plugin I'm trying to debug in Linqpad. I can reference my plugin assembly but it requires an ITracingService object. Can I create one and set its output location to the console?

CamJohnson26
  • 1,119
  • 1
  • 15
  • 40
  • Please read [ask]. Key phrases: "Search, and research" and "Explain ... any difficulties that have prevented you from solving it yourself". – Heretic Monkey Feb 24 '17 at 16:02

1 Answers1

3

You implement the ITracingService interface on a class.

public class NullCrmTracingService : ITracingService
{
    public void Trace(string format, params object[] args)
    {
        //do nothing
    }
}
Nicknow
  • 7,154
  • 3
  • 22
  • 38