Flush() the log

0.1-prestable
gareth 2007-05-07 00:11:44 +00:00
parent 315e4dede6
commit b6487e4aaa
1 changed files with 3 additions and 1 deletions

View File

@ -43,6 +43,7 @@ namespace OpenSim.Framework.Console
public void Write(string format, params object[] args)
{
Log.Write(format, args);
Log.Flush();
if(!disableOutput)
{
System.Console.Write(format, args);
@ -53,6 +54,7 @@ namespace OpenSim.Framework.Console
public void WriteLine(string format, params object[] args)
{
Log.WriteLine(format, args);
Log.Flush();
if(!disableOutput)
{
System.Console.WriteLine(format, args);