mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
fix: Don't write console to error out
This commit is contained in:
parent
bf91d9e87f
commit
e1279fb860
1 changed files with 3 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using ICD.Common.Properties;
|
||||
#if SIMPLSHARP
|
||||
|
|
@ -74,7 +75,7 @@ namespace ICD.Common.Utils
|
|||
#else
|
||||
System.Console.ForegroundColor = color.ToForegroundConsoleColor();
|
||||
System.Console.BackgroundColor = color.ToBackgroundConsoleColor();
|
||||
System.Console.Error.WriteLine(message);
|
||||
System.Console.WriteLine(message);
|
||||
System.Console.ResetColor();
|
||||
#endif
|
||||
}
|
||||
|
|
@ -107,7 +108,7 @@ namespace ICD.Common.Utils
|
|||
#else
|
||||
System.Console.ForegroundColor = color.ToForegroundConsoleColor();
|
||||
System.Console.BackgroundColor = color.ToBackgroundConsoleColor();
|
||||
System.Console.Error.Write(message);
|
||||
System.Console.Write(message);
|
||||
System.Console.ResetColor();
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue