diff --git a/Examples/ServiceExamples/Scripts/ExampleVisualRecognition.cs b/Examples/ServiceExamples/Scripts/ExampleVisualRecognition.cs index b6365ef1a..880cfc818 100644 --- a/Examples/ServiceExamples/Scripts/ExampleVisualRecognition.cs +++ b/Examples/ServiceExamples/Scripts/ExampleVisualRecognition.cs @@ -174,7 +174,7 @@ private void OnGetClassifiers(ClassifiersBrief classifiers, Dictionary customData) + private void OnGetClassifier(ClassifierVerbose classifier, Dictionary customData) { Log.Debug("ExampleVisualRecognition.OnGetClassifier()", "VisualRecognition - GetClassifier Response: {0}", customData["json"].ToString()); _getClassifierTested = true; @@ -190,7 +190,7 @@ private void OnDeleteClassifier(bool success, Dictionary customD #endif #if TRAIN_CLASSIFIER - private void OnTrainClassifier(GetClassifiersPerClassifierVerbose classifier, Dictionary customData) + private void OnTrainClassifier(ClassifierVerbose classifier, Dictionary customData) { Log.Debug("ExampleVisualRecognition.OnTrainClassifier()", "{0}", customData["json"].ToString()); diff --git a/Scripts/Connection/RESTConnector.cs b/Scripts/Connection/RESTConnector.cs index 72c9b1a3d..cb9456e28 100644 --- a/Scripts/Connection/RESTConnector.cs +++ b/Scripts/Connection/RESTConnector.cs @@ -636,7 +636,7 @@ private class DeleteRequest public IEnumerator Send(string url, Dictionary headers) { #if ENABLE_DEBUGGING - Log.Debug("DeleteRequest.Send()", "DeleteRequest, Send: {0}, _thread:{1}", url, _thread); + Log.Debug("DeleteRequest.Send()", "DeleteRequest, Send: {0}", url); #endif URL = url; diff --git a/Scripts/Utilities/Runnable.cs b/Scripts/Utilities/Runnable.cs index eeb0e3090..b786e60ea 100644 --- a/Scripts/Utilities/Runnable.cs +++ b/Scripts/Utilities/Runnable.cs @@ -21,6 +21,9 @@ using UnityEngine; using System.Collections; using System.Collections.Generic; +#if ENABLE_RUNNABLE_DEBUGGING +using IBM.Watson.DeveloperCloud.Logging; +#endif namespace IBM.Watson.DeveloperCloud.Utilities {