public LogEntry(){
  index=ENTRY_INDEX.getAndIncrement();
  time=System.currentTimeMillis();
}

public LogEntry ( ) { index = ENTRY_INDEX . getAndIncrement ( ) ; time = System . currentTimeMillis ( ) ; }
constructs the logentry and sets its timestamp to now .
