protected static void LogException(string message, Exception ex) { var exception = new SourceWatcherException("Github", message, ex); DiagnosticsETWProvider.Instance.LogSourceWatcherException("GithubWatcher", message, exception.GetType().ToString(), exception.ToString()); }
protected void LogException(string message, Exception ex) { var exception = new SourceWatcherException(SourceName, message, ex); DiagnosticsETWProvider.Instance.LogSourceWatcherException(_eventSource, message, exception.GetType().ToString(), exception.ToString()); }