package com.tasomaniac.muzei.earthview.data.analytics;

import timber.log.Timber;

public interface Analytics {

    void sendScreenView(String screenName);

    void sendEvent(String category, String action, String label);

    class DebugAnalytics implements Analytics {

        @Override
        public void sendScreenView(String screenName) {
            Timber.tag("Analytics").d("Screen: " + screenName);
        }

        @Override
        public void sendEvent(String category, String action, String label) {
            Timber.tag("Analytics").d("Event recorded:"
                                              + "\n\tCategory: " + category
                                              + "\n\tAction: " + action
                                              + "\n\tLabel: " + label);
        }
    }
}

@@ -388,19 +388,20 @@
 Screen: 
-%22 +
+%25s%22,
  screenN
@@ -571,221 +571,71 @@
 ded:
-%22%0A                                              + %22%5Cn%5CtCategory: %22 + category%0A                                              + %22%5Cn%5CtAction: %22 + action%0A                                              + %22%5Cn%5CtLabel: %22 +
+%5Cn%5CtCategory: %25s%5Cn%5CtAction: %25s%5Cn%5CtLabel: %25s%22, category, action,
  lab

Use Timber's string format instead of concatenation