コード例 #1
0
 public LogEntry(int index, Exception exception)
 {
     Index             = index;
     Type              = LogType.Exception;
     Message           = exception.Message;
     StackTraceControl = new StackTraceControl(new StackTrace(exception, true));
 }
コード例 #2
0
 public LogEntry(int index, LogInfo logInfo)
 {
     Index             = index;
     Type              = logInfo.Type;
     Message           = logInfo.Message;
     StackTraceControl = new StackTraceControl(logInfo.StackTrace);
 }