@@ -0,0 +1,1104 @@
+package eu.nerro.wolappla.util;%0A%0Aimport android.util.Log;%0A%0Aimport eu.nerro.wolappla.BuildConfig;%0A%0A/**%0A * Helper methods that make logging more consistent throughout the app.%0A */%0Apublic class LogUtils %7B%0A  private static final String LOG_PREFIX = %22wolappla_%22;%0A  private static final int LOG_PREFIX_LENGTH = LOG_PREFIX.length();%0A  private static final int MAX_LOG_TAG_LENGTH = 25;%0A%0A  private LogUtils() %7B%0A  %7D%0A%0A  public static String makeLogTag(String name) %7B%0A    if (name.length() %3E MAX_LOG_TAG_LENGTH - LOG_PREFIX_LENGTH) %7B%0A      return LOG_PREFIX + name.substring(0, MAX_LOG_TAG_LENGTH - LOG_PREFIX_LENGTH - 1);%0A    %7D%0A%0A    return LOG_PREFIX + name;%0A  %7D%0A%0A  public static String makeLogTag(Class clazz) %7B%0A    return makeLogTag(clazz.getSimpleName());%0A  %7D%0A%0A  public static void LOGD(final String tag, String message) %7B%0A    if (BuildConfig.DEBUG %7C%7C Log.isLoggable(tag, Log.DEBUG)) %7B%0A      Log.d(tag, message);%0A    %7D%0A  %7D%0A%0A  public static void LOGD(final String tag, String message, Throwable cause) %7B%0A    if (BuildConfig.DEBUG %7C%7C Log.isLoggable(tag, Log.DEBUG)) %7B%0A      Log.d(tag, message, cause);%0A    %7D%0A  %7D%0A%7D%0A

Add log helper to make logging more consistent