mail[Wesnoth-commits] r44186 - /trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/Logger.java


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by timotei_cluj on July 15, 2010 - 13:58:
Author: timotei
Date: Thu Jul 15 13:58:08 2010
New Revision: 44186

URL: http://svn.gna.org/viewcvs/wesnoth?rev=44186&view=rev
Log:
eclipse plugin: flush content written in the log

Modified:
    trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/Logger.java

Modified: 
trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/Logger.java
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/Logger.java?rev=44186&r1=44185&r2=44186&view=diff
==============================================================================
--- trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/Logger.java 
(original)
+++ trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/Logger.java 
Thu Jul 15 13:58:08 2010
@@ -128,6 +128,7 @@
                                logWriter_.write(String.format("%s | %d | 
%s\n",
                                                new 
SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()),
                                                severity,  message));
+                               logWriter_.flush();
                        } catch (IOException e)
                        {
                                e.printStackTrace();




Related Messages


Powered by MHonArc, Updated Thu Jul 15 18:20:12 2010