code: public void close()
      throws IOException
    {
      _isClosed = true;
      
      _rolloverWorker.wake();
      
      _rolloverWorker.close();
  
      synchronized (_logLock) {
        closeLogStream();
      }
      
      Alarm alarm = _rolloverAlarm;
      _rolloverAlarm = null;
      
      if (alarm != null)
        alarm.dequeue();
    }
docs: Closes the log, flushing the results.