public static void Show(object info) { object t = TIME + info; Console.Write(t); if (GetInstance().OnLogText != null) { GetInstance().OnLogText(t as string); } if (OutputFilePath != null) { LocalFileIO.AppendAsUTF8(OutputFilePath, t.ToString()); } }
public static void ShowLine(object info) { object t = TIME + info; //t = info; Console.WriteLine(t); if (GetInstance().OnLogText != null) { GetInstance().OnLogText(t + "\n"); } if (OutputFilePath != null) { LocalFileIO.AppendAsUTF8(OutputFilePath, t + "\n\n"); } }