code: public boolean logBulk(Collection<String> messages) {
          if (messages == null) return false;
  
          String parcel = joinStrings(messages);
          if (parcel.isEmpty()) return false;
  
          boolean ok;
          try {
              ok = loggly.logBulk(token, tags, parcel).isExecuted();
          } catch (Exception e) {
              e.printStackTrace();
              ok = false;
          }
          return ok;
      }
docs: Posts several log messages in bulk to Loggly
  @param messages messages to be logged
  @return {@code true} if successful; {@code false} otherwise