Java tutorial
//package com.java2s; import java.lang.reflect.Method; public class Main { public static void showInternalDebugLog() { try { Class<?> clz = Class.forName("com.avos.avoscloud.AVOSCloud"); Method startMethod = clz.getDeclaredMethod("showInternalDebugLog", Boolean.TYPE); startMethod.setAccessible(true); startMethod.invoke(null, true); } catch (Exception e) { e.printStackTrace(); } } }