OSDN Git Service

デバッグ出力を追加
[coroid/inqubus.git] / frontend / src / saccubus / converter / AbstractCommand.java
index 9982e5f..b66a69d 100644 (file)
@@ -25,7 +25,14 @@ public abstract class AbstractCommand {
     }
 
     protected void sendText(String text) {
+        sendText(text, true);
+    }
+
+    protected void sendText(String text, boolean debugOut) {
         getListener().setText(text);
+        if (debugOut) {
+            System.out.println(text);
+        }
     }
 
     /**