/// <summary> /// If logging has been turned on, submits the log entry to both /// Console and log file. /// </summary> /// <param name="logEntry">The log entry.</param> public static void DebugPrint(string logEntry) { if (Logging) { Console.WriteLine(logEntry); LogsManager.WriteLine(logEntry); } }
public static void DebugPrint(string str) { if (Logging) { Console.WriteLine(str); LogsManager.WriteLine(str); } }