From: yongsung1.kim Date: Fri, 13 Sep 2013 07:31:03 +0000 (+0900) Subject: [Title] Add flush() method in log.java. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a83eeb12f9d21dd52dd3c82e4cfd1e25fbe21eb;p=sdk%2Finstaller%2Finstall-manager.git [Title] Add flush() method in log.java. --- diff --git a/InstallManager_java/src/org/tizen/installmanager/lib/Log.java b/InstallManager_java/src/org/tizen/installmanager/lib/Log.java index c23c12e..aa47da1 100644 --- a/InstallManager_java/src/org/tizen/installmanager/lib/Log.java +++ b/InstallManager_java/src/org/tizen/installmanager/lib/Log.java @@ -166,6 +166,7 @@ public class Log { try { objfile.write(bufLogTitle.toString()); objfile.write(newLine); + objfile.flush(); } catch (IOException e) { Log.ExceptionLog(e); } @@ -217,6 +218,7 @@ public class Log { try { objfile.write(timeStr() + " " + str); objfile.write(newLine); + objfile.flush(); } catch (IOException e) { // TODO Log.ExceptionLog(e);