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 void logThreadSignature(String name) {
    Log.d(name, getThreadSignature());
}

From source file:Main.java

public static void log(Object o) {
    try {/*  w  w w  .ja  v  a2s.  c om*/
        Log.d("MGX", o.toString());
    } catch (Exception e) {
        Log.e("MGX", "ERROR LOGGING");
    }
}

From source file:Main.java

public static float distance(float x1, float y1, float x2, float y2) {
    Log.d("Data: ", "" + Math.sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2)));
    return (float) Math.sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));
}

From source file:Main.java

public static void log(String region, String message) {
    Log.d("Softphone", region + ": " + message + getLocation(2));
}

From source file:Main.java

static void log(String msg) {
    Log.d(LOG_TAG, msg);
}

From source file:Main.java

public static void log(String log) {
    Log.d("BaseApi", log);
}

From source file:Main.java

public static void WriteLog(String text) {
    Log.d(LogTag, text);
}

From source file:Main.java

public static void logDeviceInfo(String tag) {
    Log.d(tag,
            "Android SDK: " + Build.VERSION.SDK_INT + ", " + "Release: " + Build.VERSION.RELEASE + ", "
                    + "Brand: " + Build.BRAND + ", " + "Device: " + Build.DEVICE + ", " + "Id: " + Build.ID
                    + ", " + "Hardware: " + Build.HARDWARE + ", " + "Manufacturer: " + Build.MANUFACTURER + ", "
                    + "Model: " + Build.MODEL + ", " + "Product: " + Build.PRODUCT);
}

From source file:Main.java

public static void debug(String msg) {
    Log.d(TAG, msg);
}

From source file:Main.java

public static void logD(String msg) {
    Log.d(LOG, msg);
}