code: public static CharBuf sputl(CharBuf buf, Object... messages) {
  
          for (Object message : messages) {
              if (message == null) {
                  buf.add("<NULL>");
              } else if (message.getClass().isArray()) {
                  buf.add(toListOrSingletonList(message).toString());
              } else {
                  buf.add(message.toString());
              }
              buf.add('\n');
          }
          buf.add('\n');
  
          return buf;
  
  
      }
docs: Writes to a char buf. A char buf is like a StringBuilder.
  
  @param buf      char buf
  @param messages messages
  @return charbuf