mail[Wesnoth-commits] r44185 - /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:49:
Author: timotei
Date: Thu Jul 15 13:49:01 2010
New Revision: 44185

URL: http://svn.gna.org/viewcvs/wesnoth?rev=44185&view=rev
Log:
eclipse plugin: report start/stop log status

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=44185&r1=44184&r2=44185&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:49:01 2010
@@ -50,6 +50,7 @@
                                WorkspaceUtils.getTemporaryFolder(), 
WorkspaceUtils.getRandomFileName());
 
                        logWriter_ = new BufferedWriter(new 
FileWriter(logFilePath));
+                       log("Logging started.");
                } catch (IOException e)
                {
                        GUIUtils.showMessageBox("There was an error trying to 
open the log." +
@@ -67,6 +68,7 @@
                        return;
                try
                {
+                       log("Logging ended.");
                        logWriter_.close();
                } catch (IOException e)
                {




Related Messages


Powered by MHonArc, Updated Thu Jul 15 14:00:10 2010