[v1.7.0] Add support for IC880A Board

This commit is contained in:
BlubbFish 2019-01-29 17:09:45 +00:00
parent dcfb0e6272
commit 62b0d478c5
2 changed files with 7 additions and 2 deletions

View File

@ -108,10 +108,15 @@ namespace BlubbFish.Utils {
} }
private void WriteLine(String value, TextWriter origstream, ConsoleWriterEventArgs.ConsoleType type) { 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); origstream.WriteLine(text);
base.WriteLine(text); base.WriteLine(text);
this.newline = true;
base.Flush(); base.Flush();
} }

Binary file not shown.