Adding better logging for validation. Also adding input name for all

logging.

Yes, it gets the full class with namespace.

On Tue Dec 09 2014 at 12:09:06 AM Shakeel Mohamed <notifications@github.com>
wrote:

> In src/Splunk.ModularInputs/Splunk/ModularInputs/ModularInput.cs
> <https://github.com/splunk/splunk-sdk-csharp-pcl/pull/29#discussion-diff-21512085>
> :
>
> > @@ -192,6 +192,8 @@ private static bool IsScheme(string[] args, DebuggerAttachPoints attachPoints)
> >              uint timeout = 0
> >              )
> >          {
> > +            var name = this.GetType().FullName;
>
> Will this get the name of the class which is inheriting from ModularInput?
> If so, this could be something totally useless like Program (look at the
> github example
> <https://github.com/splunk/splunk-sdk-csharp-pcl/blob/master/examples/github-commits/Program.cs#L14>
> )
>
> Also, 5 minutes of updating modinput unit tests for these log statements
> would be great
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/splunk/splunk-sdk-csharp-pcl/pull/29/files#r21512085>.
>