changeset 838:997290c7d537 am-dev

removed some logs
author Alain Mazy <alain@mazy.be>
date Thu, 06 Jun 2019 10:50:54 +0200
parents 847fd11384bc
children 8a8cf2991538
files Platforms/Wasm/Defaults.cpp
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/Platforms/Wasm/Defaults.cpp	Wed Jun 05 17:43:59 2019 +0200
+++ b/Platforms/Wasm/Defaults.cpp	Thu Jun 06 10:50:54 2019 +0200
@@ -276,7 +276,7 @@
                                               float x2,
                                               float y2)
   {
-    printf("touch start with %d touches\n", touchCount);
+    // printf("touch start with %d touches\n", touchCount);
 
     std::vector<Deprecated::Touch> touches;
     GetTouchVector(touches, touchCount, x0, y0, x1, y1, x2, y2);
@@ -292,7 +292,7 @@
                                               float x2,
                                               float y2)
   {
-    printf("touch move with %d touches\n", touchCount);
+    // printf("touch move with %d touches\n", touchCount);
 
     std::vector<Deprecated::Touch> touches;
     GetTouchVector(touches, touchCount, x0, y0, x1, y1, x2, y2);
@@ -308,7 +308,7 @@
                                               float x2,
                                               float y2)
   {
-    printf("touch end with %d touches remaining\n", touchCount);
+    // printf("touch end with %d touches remaining\n", touchCount);
 
     std::vector<Deprecated::Touch> touches;
     GetTouchVector(touches, touchCount, x0, y0, x1, y1, x2, y2);
@@ -363,14 +363,14 @@
   {
     static std::string output; // we don't want the string to be deallocated when we return to JS code so we always use the same string (this is fine since JS is single-thread)
 
-    printf("SendSerializedMessageToStoneApplication\n");
-    printf("%s", message);
+    //printf("SendSerializedMessageToStoneApplication\n");
+    //printf("%s", message);
 
     if (applicationWasmAdapter.get() != NULL) {
       applicationWasmAdapter->HandleSerializedMessageFromWeb(output, std::string(message));
       return output.c_str();
     }
-    printf("This Stone application does not have a Web Adapter");
+    printf("This Stone application does not have a Web Adapter, unable to send messages");
     return NULL;
   }