code: protected long writeNext(LogRecord logRecord,
                               long reservedDelta,
                               boolean checkSpace,
                               boolean flush)
                      throws ObjectManagerException {
          final String methodName = "writeNext";
          if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
              trace.entry(this,
                          cclass,
                          methodName,
                          new Object[] { logRecord, new Long(reservedDelta), new Boolean(checkSpace), new Boolean(flush) });
  
          long usableLogSequenceNumber;
  
          // Take a lock on the log and increment the log sequence number.
          synchronized (logSequenceNumberLock) {
              logSequenceNumber++; // Set the current Sequence number.
              usableLogSequenceNumber = logSequenceNumber;
          } // synchronized (LogSequeunceNumberLock).
  
          if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
              trace.exit(this,
                         cclass,
                         methodName,
                         new Object[] { new Long(usableLogSequenceNumber) });
          return usableLogSequenceNumber;
      }
docs: /*
  (non-Javadoc)
  
  @see com.ibm.ws.objectManager.LogOutput#writeNext(com.ibm.ws.objectManager.LogRecord, long, boolean)