public void initializeLogging() {
        // Using Log, front-end to the logging chain, emulates android.util.log method signatures.
        // Wraps Android's native log framework
        LogWrapper logWrapper = new LogWrapper();
        Log.setLogNode(logWrapper);

        Log.i(TAG, "Ready");
    }
Set up targets to receive log data
SwipeRefreshLayoutBasic/Application/src/main/java/com/example/android/common/activities/SampleActivityBase.java