sdk/src/main/java/com/bugsnag/android/Client.java
public void internalClientNotify(@NonNull Throwable exception,
                              Map<String, Object> clientData,
                              boolean blocking,
                              Callback callback) {
        String severity = getKeyFromClientData(clientData, "severity", true);
        String severityReason =
            getKeyFromClientData(clientData, "severityReason", true);
        String logLevel = getKeyFromClientData(clientData, "logLevel", false);

        String msg = String.format("Internal client notify, severity = '%s',"
            + " severityReason = '%s'", severity, severityReason);
        Logger.info(msg);

        @SuppressWarnings("WrongConstant")
        Error error = new Error.Builder(config, exception, sessionTracker.getCurrentSession())
            .severity(Severity.fromString(severity))
            .severityReasonType(severityReason)
            .attributeValue(logLevel)
            .build();

        DeliveryStyle deliveryStyle = blocking ? DeliveryStyle.SAME_THREAD : DeliveryStyle.ASYNC;
        notify(error, deliveryStyle, callback);
    }
/**
     * Intended for internal use only
     *
     * @param exception the exception
     * @param clientData the clientdata
     * @param blocking whether to block when notifying
     * @param callback a callback when notifying
     */
Intended for internal use only
@param exception the exception
@param clientData the clientdata
@param blocking whether to block when notifying
@param callback a callback when notifying
Intended for internal use only @param exception the exception @param clientData the clientdata @param blocking whether to block when notifying @param callback a callback when notifying
public void internalClientNotify(@NonNull Throwable exception,
                              Map<String, Object> clientData,
                              boolean blocking,
                              Callback callback) {
        String severity = getKeyFromClientData(clientData, "severity", true);
        String severityReason =
            getKeyFromClientData(clientData, "severityReason", true);
        String logLevel = getKeyFromClientData(clientData, "logLevel", false);
        String msg = String.format("Internal client notify, severity = '%s',"
            + " severityReason = '%s'", severity, severityReason);
        Logger.info(msg);
        @SuppressWarnings("WrongConstant")
        Error error = new Error.Builder(config, exception, sessionTracker.getCurrentSession())
            .severity(Severity.fromString(severity))
            .severityReasonType(severityReason)
            .attributeValue(logLevel)
            .build();
        DeliveryStyle deliveryStyle = blocking ? DeliveryStyle.SAME_THREAD : DeliveryStyle.ASYNC;
        notify(error, deliveryStyle, callback);
    }
public void internalClientNotify ( @ NonNull Throwable exception , Map < String , Object > clientData , boolean blocking , Callback callback ) { String severity = getKeyFromClientData ( clientData , "severity" , true ) ; String severityReason = getKeyFromClientData ( clientData , "severityReason" , true ) ; String logLevel = getKeyFromClientData ( clientData , "logLevel" , false ) ; String msg = String . format ( "Internal client notify, severity = '%s'," + " severityReason = '%s'" , severity , severityReason ) ; Logger . info ( msg ) ; @ SuppressWarnings ( "WrongConstant" ) Error error = new Error . Builder ( config , exception , sessionTracker . getCurrentSession ( ) ) . severity ( Severity . fromString ( severity ) ) . severityReasonType ( severityReason ) . attributeValue ( logLevel ) . build ( ) ; DeliveryStyle deliveryStyle = blocking ? DeliveryStyle . SAME_THREAD : DeliveryStyle . ASYNC ; notify ( error , deliveryStyle , callback ) ; }
Intended for internal use only
 @param exception the exception
 @param clientData the clientdata
 @param blocking whether to block when notifying
 @param callback a callback when notifying
Intended for internal use only @param exception the exception @param clientData the clientdata @param blocking whether to block when notifying @param callback a callback when notifying