Exemplo n.º 1
0
 public void logString(string str, bool write_console = true)
 {
     //str = string.Format("[{0}]#\n{1}", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), str);
     SBUtils.logString(this.LogFile, str);
     if (write_console)
     {
         Console.WriteLine(string.Format("[{0}]#\n{1}", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), str));
     }
 }