private static String getCallerInfo(final int maxDepth) {
        final String logClassName = Log.class.getName();
        final String contextLoggerClassname = ContextLogger.class.getName();

        return stackTraceToShortString(new RuntimeException().getStackTrace(), maxDepth, st ->
                !st.getClassName().equals(logClassName) && !st.getClassName().equals(contextLoggerClassname));
    }
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