Skip to content

Commit

Permalink
Merge pull request #175 from PepperDash/feature-2/fix-logError-message
Browse files Browse the repository at this point in the history
Remove LogError from overload of Console
  • Loading branch information
andrew-welker authored May 20, 2024
2 parents d403c29 + 706f10d commit 9b02152
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Pepperdash Core/Logging/Debug.cs
Original file line number Diff line number Diff line change
Expand Up @@ -661,14 +661,6 @@ public static void Console(uint level, string format, params object[] items)

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"),
Expand Down

0 comments on commit 9b02152

Please sign in to comment.