public static void setCustomLog()

in alibabacloud-android-rum-sdk/src/main/java/com/alibabacloud/rum/AlibabaCloudRum.java [305:319]


    public static void setCustomLog(String content, String name, String snapshots, String level,
        Map<String, Object> attributes) {
        JSONObject params = new JSONObject();

        putJSONOpt(params, "_ll", TextUtils.isEmpty(level) ? "INFO" : level);
        putJSONOpt(params, "_ln", name);
        putJSONOpt(params, "_lc", content);
        if (null != attributes && !attributes.isEmpty()) {
            for (Entry<String, Object> entry : attributes.entrySet()) {
                putJSONOpt(params, entry.getKey(), entry.getValue());
            }
        }

        OpenRum.setCustomLog(params.toString(), snapshots);
    }