Example #1
0
 public static void Write(string line)
 {
     string where = new StackFrame(1).GetMethod().ReflectedType.ToString().Replace("Ildss.", "");
     if (where.Contains('+'))
     {
         where = where.Substring(0, where.LastIndexOf('+'));
     }
     where = where.PadRight(30, ' ');
     _line = (DateTime.Now.ToString("hh:mm:ss:fff") + " " + where + " " + line);
     Save();
 }