Esempio n. 1
0
 public static void Log(string msg, DebugLevel debugLevel = DebugLevel.NORMAL)
 {
     if (instance)
     {
         instance.AddDebugText(msg, debugLevel);
     }
     else
     {
         string timestamp = DateTime.Now.ToString("hh:mm:ss");
         preInstanceMsgs += "(" + timestamp + ") " + msg + "\n";
     }
 }