mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-09 01:34:50 +00:00
Added timestamp to debug console messages
This commit is contained in:
@@ -54,11 +54,6 @@ namespace PepperDash.Core
|
||||
// Config = config;
|
||||
//}
|
||||
|
||||
public void EnableUsageTracker()
|
||||
{
|
||||
UsageTracker = new UsageTracker();
|
||||
}
|
||||
|
||||
public void AddPreActivationAction(Action act)
|
||||
{
|
||||
if (_PreActivationActions == null)
|
||||
|
||||
@@ -138,7 +138,7 @@ namespace PepperDash.Core
|
||||
public static void Console(uint level, string format, params object[] items)
|
||||
{
|
||||
if (Level >= level)
|
||||
CrestronConsole.PrintLine("App {0}:{1}", InitialParametersClass.ApplicationNumber,
|
||||
CrestronConsole.PrintLine("[{0}]App {1}:{2}", DateTime.Now.ToString("HH:mm:ss.fff"), InitialParametersClass.ApplicationNumber,
|
||||
string.Format(format, items));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user