Closed glennblock closed 9 years ago
@shakeelmohamed take a quick peek.
LGTM after nits, & possibly some test changes
Is there any way to get the instance name of this of mod input (i.e. the name of the stanza) rather than using the class name?
@itay It will be significantly more work to do that:
I think having the fully qualified type name (which includes the namespace) is enough as it should uniquely identify the app and input type.
The problem is that even though it'll identify the app and input type, it won't identify which input it is happening on, which is crucial, IMO. That said, something is better than nothing.
I see what you mean. Let me look at it and see if I can do it easily..
On Tue Dec 09 2014 at 10:11:28 PM Itay Neeman notifications@github.com wrote:
The problem is that even though it'll identify the app and input type, it won't identify which input it is happening on, which is crucial, IMO. That said, something is better than nothing.
— Reply to this email directly or view it on GitHub https://github.com/splunk/splunk-sdk-csharp-pcl/pull/29#issuecomment-66408908 .
Ok @itay I think I got it working. Basically I add a continuation for each task and in the delegate it will log the associated input name. I've added a unit test as well to confirm the behavior.
Added unit tests now for testing error logging for Scheme and Validate as well. It has the following behavior now
Make sense?
logging.