Beispiel #1
0
 /// <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);
     }
 }
Beispiel #2
0
 public static void DebugPrint(string str)
 {
     if (Logging)
     {
         Console.WriteLine(str);
         LogsManager.WriteLine(str);
     }
 }