Ejemplo n.º 1
0
        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());
            }
        }
Ejemplo n.º 2
0
        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");
            }
        }