public LogEntry(int index, Exception exception) { Index = index; Type = LogType.Exception; Message = exception.Message; StackTraceControl = new StackTraceControl(new StackTrace(exception, true)); }
public LogEntry(int index, LogInfo logInfo) { Index = index; Type = logInfo.Type; Message = logInfo.Message; StackTraceControl = new StackTraceControl(logInfo.StackTrace); }