rentallect
Nov 22nd, 2010, 07:29 AM
It has been said that:
"The ability for Insight to output Traces to XML or JSON should be fairly easy. The InterceptConfiguration class has a list of dispatch handlers which get called whenever a Trace is generated. You'd simply register a listener which outputs the Trace to a file." -Jon Travis
This is great, since I would like to attempt this for something I'm working on.
Can someone describe the proper/best-practice approach to "registering" a new listener?
"The ability for Insight to output Traces to XML or JSON should be fairly easy. The InterceptConfiguration class has a list of dispatch handlers which get called whenever a Trace is generated. You'd simply register a listener which outputs the Trace to a file." -Jon Travis
This is great, since I would like to attempt this for something I'm working on.
Can someone describe the proper/best-practice approach to "registering" a new listener?