Author: timotei
Date: Sat Jul 30 09:57:34 2011
New Revision: 50475
URL: http://svn.gna.org/viewcvs/wesnoth?rev=50475&view=rev
Log:
eclipse plugin: Log to console the errors/warnings
Modified:
trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/Logger.java
Modified: trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/Logger.java
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/Logger.java?rev=50475&r1=50474&r2=50475&view=diff
==============================================================================
--- trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/Logger.java (original)
+++ trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/Logger.java Sat Jul 30
09:57:34 2011
@@ -199,8 +199,9 @@
}
}
- // 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);
}
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits