diff --git a/ProgramLogger.cs b/ProgramLogger.cs index 1e797ae..68fc821 100644 --- a/ProgramLogger.cs +++ b/ProgramLogger.cs @@ -108,10 +108,15 @@ namespace BlubbFish.Utils { } private void WriteLine(String value, TextWriter origstream, ConsoleWriterEventArgs.ConsoleType type) { - String text = "[" + DateTime.Now.ToString("o") + "]-" + type.ToString() + ": " + value; + String text = ""; + if (this.newline) { + text = "[" + DateTime.Now.ToString("o") + "]-" + type.ToString() + ": " + value; + } else { + text = value; + } + this.newline = true; origstream.WriteLine(text); base.WriteLine(text); - this.newline = true; base.Flush(); } diff --git a/bin/Release/Utils.dll b/bin/Release/Utils.dll index d54cf28..feeddc7 100644 Binary files a/bin/Release/Utils.dll and b/bin/Release/Utils.dll differ