public LogItem(LogItemClassifier logItemClass, String text, String status) : this() { this.syncObject = new object(); this.Id = idCounter++; this.Timestamp = DateTime.Now; this.ItemClass = logItemClass; this.Text = text; this.Status = status; }
public LogItem(LogItemClassifier logItemClassifier, String text, String status, Exception caughtException) : this(logItemClassifier, text, status) { this.CaughtException = caughtException; }
public void AddLogEntry(LogItemClassifier logItemClass, String logText, String status) { LogItem le = new LogItem(logItemClass, logText, status); this.AddLogEntry(le); }