code: protected final long writeNext(LogRecord logRecord
                                     , long reservedDelta
                                     , boolean checkSpace
                                     , boolean flush
                      )
                                      throws ObjectManagerException
      {
  
  //    if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())  
  //      trace.entry(this,
  //                  cclass,
  //                  "writeNext",
  //                  new Object[] {logRecord,
  //                                new Long(reservedDelta),
  //                                new Boolean(checkSpace),
  //                                new Boolean (flush));
  
          long logSequenceNumber = addLogRecord(logRecord,
                                                reservedDelta,
                                                false,
                                                checkSpace,
                                                flush);
  
  //    if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
  //      trace.exit(this,
  //                 cclass,
  //                 "writeNext",
  //                 new Object[] {new Long(logSequenceNumber)});
          return logSequenceNumber;
      }
docs: Copy a LogRecord into the LogBuffer ready to write to end of the LogFile.
  
  @param logRecord to be appended.
  @param reservedDelta the change to the number of reserved bytes if this write is successful.
  @param checkSpace true is we should check that log file space is available before filling the buffer.
  @param flush true if the logReciord must be forced to disk before we return.
  
  @return long Log Sequence Number identifies the poition in the log.
  @throws ObjectManagerException