aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Framework.Console/ConsoleBase.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim.Framework.Console/ConsoleBase.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim.Framework.Console/ConsoleBase.cs b/OpenSim.Framework.Console/ConsoleBase.cs
index 39d2b28..dd8054a 100644
--- a/OpenSim.Framework.Console/ConsoleBase.cs
+++ b/OpenSim.Framework.Console/ConsoleBase.cs
@@ -43,6 +43,7 @@ namespace OpenSim.Framework.Console
43 public void Write(string format, params object[] args) 43 public void Write(string format, params object[] args)
44 { 44 {
45 Log.Write(format, args); 45 Log.Write(format, args);
46 Log.Flush();
46 if(!disableOutput) 47 if(!disableOutput)
47 { 48 {
48 System.Console.Write(format, args); 49 System.Console.Write(format, args);
@@ -53,7 +54,8 @@ namespace OpenSim.Framework.Console
53 public void WriteLine(string format, params object[] args) 54 public void WriteLine(string format, params object[] args)
54 { 55 {
55 Log.WriteLine(format, args); 56 Log.WriteLine(format, args);
56 if(!disableOutput) 57 Log.Flush();
58 if(!disableOutput)
57 { 59 {
58 System.Console.WriteLine(format, args); 60 System.Console.WriteLine(format, args);
59 } 61 }