public static String stackTraceToShortString(final StackTraceElement[] stackTraceElements, final int maxDepth, final Func1<StackTraceElement, Boolean> filter) {
        final StringBuilder sb = new StringBuilder();
        int cnt = 0;
        for (final StackTraceElement st : stackTraceElements) {
            if (filter == null || TRUE.equals(filter.call(st))) {
                if (sb.length() > 0) {
                    sb.append("/");
                }
                sb.append(stackTraceElementToString(st));
                if (maxDepth > 0 && ++cnt >= maxDepth) {
                    break;
                }
            }
        }
        return sb.length() == 0 ? "<none>" : sb.toString();
    }
Returns compact info about caller of Log method. Note: this method is considerably slow
and shall be used with care (only when explicitely turned on)
main/src/main/java/cgeo/geocaching/utils/Log.java