eclipse plugin: Log to console the errors/warnings

This commit is contained in:
Timotei Dolean 2011-07-30 07:57:34 +00:00
parent 689f46c0dc
commit 609e24c45f

View file

@ -199,8 +199,9 @@ public class Logger {
}
}
// don't print to console the tools exceptions
if ( writer != toolLaunchLogWriter_ )
// don't print to console the tools if there was no error/warning
if ( writer != toolLaunchLogWriter_ ||
( writer == toolLaunchLogWriter_ && severity != IStatus.INFO ) )
System.out.println(message);
}
}