protected bool Equals(LogRecord other) { return(Color.Equals(other.Color) && DateTime.Equals(other.DateTime) && RecordType.Equals(other.RecordType) && LogStrings.Equals(other.LogStrings)); }
protected void OnLogEvent(LogRecord logRecord) { // ReSharper disable once UseNullPropagation LogEvent?.Invoke(this, new LogEventArgs(logRecord)); }
public LogEventArgs(LogRecord logRecord) { LogRecord = logRecord; }
public void AppendDebug(ICollection <string> strings) { var logRec = new LogRecord(DateTime.Now, strings, LogRecordLevel.Debug, ConsoleColor.Blue); AppendLog(logRec); }