code: public Object current() {
          Entry entry = flushedEntry;
          if (entry == null) {
              return null;
          }
  
          return entry.msg;
      }
docs: Return the current message to write or {@code null} if nothing was flushed before and so is ready to be written.