ability to write simple text messages to log console
authorEugene Kudelevsky <Eugene.Kudelevsky@jetbrains.com>
Wed, 4 Nov 2009 08:02:06 +0000 (11:02 +0300)
committerEugene Kudelevsky <Eugene.Kudelevsky@jetbrains.com>
Wed, 4 Nov 2009 08:02:06 +0000 (11:02 +0300)
platform/lang-impl/src/com/intellij/diagnostic/logging/LogConsoleBase.java

index 9a777ae75b6f0cf949c7ec727c0c71a8ee09e7ca..88cca88656749c74c06cec10c217680fbdfa1392 100644 (file)
@@ -450,6 +450,10 @@ public abstract class LogConsoleBase extends AdditionalTabComponent implements L
     return myBuildInActions;
   }
 
+  public void writeToConsole(String text, Key outputType) {
+    myProcessHandler.notifyTextAvailable(text, outputType);
+  }
+
   private static class LightProcessHandler extends ProcessHandler {
     protected void destroyProcessImpl() {
       throw new UnsupportedOperationException();