mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-01-11 19:44:44 +00:00
Merge pull request #175 from PepperDash/feature-2/fix-logError-message
Remove LogError from overload of Console
This commit is contained in:
@@ -661,14 +661,6 @@ namespace PepperDash.Core
|
|||||||
|
|
||||||
LogMessage(level, format, 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)
|
//if (IsRunningOnAppliance)
|
||||||
//{
|
//{
|
||||||
// CrestronConsole.PrintLine("[{0}]App {1} Lvl {2}:{3}", DateTime.Now.ToString("HH:mm:ss.fff"),
|
// CrestronConsole.PrintLine("[{0}]App {1} Lvl {2}:{3}", DateTime.Now.ToString("HH:mm:ss.fff"),
|
||||||
|
|||||||
Reference in New Issue
Block a user