Example usage for android.util Log d

List of usage examples for android.util Log d

Introduction

In this page you can find the example usage for android.util Log d.

Prototype

public static int d(String tag, String msg) 

Source Link

Document

Send a #DEBUG log message.

Usage

From source file:Main.java

public static final void d(String tag, String msg) {
    Log.d(tag, msg);
}

From source file:Main.java

public static void logd(String message) {
    Log.d(TAG, message);
}

From source file:Main.java

public static void printLog(String TAG, String message) {
    Log.d(TAG, message);
}

From source file:Main.java

public static void debug(String message) {
    Log.d(DEBUG_TAG, message);
}

From source file:Main.java

public static void logListString(String TAG, List<String> strings) {
    Log.d(TAG, "=========================================>" + strings.size());
    for (String str : strings) {
        Log.d(TAG, "support:" + str);
    }//from   w w w. j  a va  2 s.  c  o m
    Log.d(TAG, "=========================================>");
}

From source file:Main.java

public static String testStringMethod(String input) {
    Log.d("DEBUG", "Testing testStringMethod !!");

    return "received:" + input;
}

From source file:Main.java

public static void showLog(String title, String content, boolean isShow) {
    if (isShow) {
        Log.d(title, content);
    }
}

From source file:Main.java

public static RectF createBaseRect(RectF graphRect, RectF marginRect) {
    Log.d("GammaGraph", "function createDrawRect");
    return new RectF(graphRect.left + marginRect.left, graphRect.top + marginRect.top, graphRect.right,
            graphRect.bottom);//ww w  .j  av  a 2 s.  co  m
}

From source file:Main.java

public static void Log(String s1, String s2) {
    if (debug) {
        Log.d(s1, s2);
    }
}

From source file:Main.java

public static void d(Object msg) {
    if (getIsDebug()) {
        Log.d("========debug========", msg + "");
    }//from w  w  w .j  a  v a2  s  .c  o m
}