mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-05 15:55:08 +00:00
Merge remote-tracking branch 'origin/fix/IcdConsole' into ConnectPro_v1.2
This commit is contained in:
@@ -55,22 +55,24 @@ namespace ICD.Common.Utils
|
||||
}
|
||||
catch (NotSupportedException)
|
||||
{
|
||||
Print(message);
|
||||
PrintLine(message);
|
||||
}
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
Print(message);
|
||||
PrintLine(message);
|
||||
}
|
||||
|
||||
public static void PrintLine(string message)
|
||||
{
|
||||
#if SIMPLSHARP
|
||||
CrestronConsole.PrintLine(message);
|
||||
if (IcdEnvironment.RuntimeEnvironment != IcdEnvironment.eRuntimeEnvironment.SimplSharpProMono)
|
||||
CrestronConsole.PrintLine(message);
|
||||
#else
|
||||
Console.WriteLine(message);
|
||||
#endif
|
||||
OnConsolePrint.Raise(null, new StringEventArgs(message + IcdEnvironment.NewLine));
|
||||
}
|
||||
|
||||
public static void PrintLine(string message, params object[] args)
|
||||
|
||||
Reference in New Issue
Block a user