public LogEntry(String timestamp,String contents,boolean suppressBlanks){
  this.timestamp=timestamp;
  this.contents=contents.trim();
  this.suppressBlanks=suppressBlanks;
}

public LogEntry ( String timestamp , String contents , boolean suppressBlanks ) { this . timestamp = timestamp ; this . contents = contents . trim ( ) ; this . suppressBlanks = suppressBlanks ; }
creates a new log entry with the given timestamp and contents
