docs: public void write(final int b) {
          Holder<T> log = getOrReset();
          if (b == '\n') {
              flushEventBuffer();
          } else if (b == '\r') {
              log.setCrchar(true);
          } else {
              if (log.isCrchar()) {
                  flushEventBuffer();
                  resetEventBuffer();
              }
              log.getBuffer().write((byte) b);
          }
  
      }