From 873fd81b5c7fc1b7bec329849cb36fde5dfdb6b1 Mon Sep 17 00:00:00 2001 From: Heath Volmer Date: Tue, 11 Sep 2018 10:04:41 -0600 Subject: [PATCH] Added debug command to log marker in log --- PepperDashEssentials/ControlSystem.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/PepperDashEssentials/ControlSystem.cs b/PepperDashEssentials/ControlSystem.cs index d25711ed..72954503 100644 --- a/PepperDashEssentials/ControlSystem.cs +++ b/PepperDashEssentials/ControlSystem.cs @@ -35,6 +35,11 @@ namespace PepperDash.Essentials //CrestronConsole.AddNewConsoleCommand(s => GoWithLoad(), "go", "Loads configuration file", // ConsoleAccessLevelEnum.AccessOperator); + CrestronConsole.AddNewConsoleCommand(s => + { + Debug.Console(0, Debug.ErrorLogLevel.Notice, "CONSOLE MESSAGE: {0}", s); + }, "appdebugmessage", "Writes message to log", ConsoleAccessLevelEnum.AccessOperator); + CrestronConsole.AddNewConsoleCommand(s => { foreach (var tl in TieLineCollection.Default)