public static void addExceptionLogEntry(System.Exception e, A_Enums.ExceptionThread exceptionthread) { A_Handler.Log.ExceptionLogEntry newEntry = new A_Handler.Log.ExceptionLogEntry(e, DateTime.Now, exceptionthread); lock (A_Handler.Log.Exception.ExceptionLog) A_Handler.Log.Exception.ExceptionLog.Add(newEntry); }
public ExceptionLogEntry(System.Exception e, DateTime timestamp, A_Enums.ExceptionThread exceptionthread) { this.E = e; this.Timestamp = timestamp; this.ExceptionThread = exceptionthread; }
public static void addExceptionLogEntry(System.Exception e, A_Enums.ExceptionThread exceptionthread) { ExceptionLogEntry.addExceptionLogEntry(e, exceptionthread); }