All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.squareup.timessquare.Logr Maven / Gradle / Ivy

There is a newer version: 1.6.2
Show newest version
package com.squareup.timessquare;

import android.util.Log;

/** Log utility class to handle the log tag and DEBUG-only logging. */
final class Logr {
  public static void d(String message) {
    if (BuildConfig.DEBUG) {
      Log.d("TimesSquare", message);
    }
  }

  public static void d(String message, Object... args) {
    if (BuildConfig.DEBUG) {
      d(String.format(message, args));
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy