Example #1
0
 public systemLogObject(object objToLog, LogObjectType type)
 {
     this.ObjectToLog = objToLog;
     this.Type = type;
     this.time = DateTime.Now;
     this.elapsedTicks = stopwatch.ElapsedTicks;
 }
Example #2
0
 public static void Add(object obj, LogObjectType type)
 {
     allObjects.Add(new systemLogObject(obj, type));
 }