code: private void flushEventBuffer() {
          Holder<T> holder = buffer.get();
          logger.accept(holder.getBuffer().get());
          holder.clear();
      }
docs: emit a log event for the current contents of the buffer