Merge pull request #175 from PepperDash/feature-2/fix-logError-message

Remove LogError from overload of Console
This commit is contained in:
Andrew Welker 2024-05-20 11:11:51 -05:00 committed by GitHub
commit 9b02152781
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -661,14 +661,6 @@ namespace PepperDash.Core
LogMessage(level, format, items);
if (CrestronEnvironment.DevicePlatform == eDevicePlatform.Server)
{
var logString = string.Format("[level {0}] {1}", level, string.Format(format, items));
LogError(ErrorLogLevel.Notice, logString);
return;
}
//if (IsRunningOnAppliance)
//{
// CrestronConsole.PrintLine("[{0}]App {1} Lvl {2}:{3}", DateTime.Now.ToString("HH:mm:ss.fff"),