[v1.7.0] Add support for IC880A Board
This commit is contained in:
parent
dcfb0e6272
commit
62b0d478c5
@ -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.
Loading…
Reference in New Issue
Block a user