loggly-client/src/main/java/com/github/tony19/loggly/LogglyClient.java
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;
    }
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;
    }
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 ; }
Posts several log messages in bulk to Loggly
@param messages messages to be logged
@return {@code true} if successful; {@code false} otherwise
Posts several log messages in bulk to Loggly