private static void logStackTraceSnippet(String summary, Throwable throwable) {
        Log.w(TAG, summary);
        StackTraceElement[] elements = throwable.getStackTrace();
        for (int i = 0; i < 2 && i < elements.length; i++) {
            Log.w(TAG, "\tat " + elements[i].toString());
        }
    }
Logs an abbreviated stacktrace (summary and a couple of StackTraceElements).
android/src/main/java/org/conscrypt/Platform.java