code: public void print(java.io.PrintWriter printWriter)
      {
          synchronized (flushHelper) {
              synchronized (notifyHelper) {
                  synchronized (logBufferLock) {
                      printWriter.println("State Dump for:" + cclass.getName()
                                          + " logFile=" + logFile + "(java.io.RandomaccessFile)"
                                          + " fileLogHeader=" + fileLogHeader + "(FileLogHeader)"
                                          + "\n filePosition=" + filePosition + "(long)"
                                          + " filePositionSectorByte=" + filePositionSectorByte + "(byte)"
                                          + " bufferFilePosition=" + bufferFilePosition + "(long)"
                                          + " bufferSectorByte=" + bufferSectorByte + "(byte)"
                                          + " fileSpaceLeft=" + fileSpaceLeft + "(long)"
                                      );
                      printWriter.println(" firstPageToFlush=" + firstPageToFlush + "(int)"
                                          + " lastPageNotified=" + lastPageNotified + "(int)"
                                          + " nextPageToNotify=" + nextPageToNotify + "(int)"
                                          + " firstPageFilling=" + firstPageFilling + "(int)"
                                          + " lastPageFilling=" + lastPageFilling + "(int)"
                                          + "\n nextFreeByteInLogBuffer=" + nextFreeByteInLogBuffer + "(int)"
                                          + " newLogBufferPages=" + newLogBufferPages + "(int)"
                                      );
                      printWriter.println();
  
                      logBuffer.print(printWriter);
                  } // synchronized (logBufferLock).
              } // synchronized (notifyHelper).
          } // synchronized (flushHelper).
      }
docs: Print a dump of the state.
  
  @param printWriter to be written to.