Example usage for android.util Log w

List of usage examples for android.util Log w

Introduction

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

Prototype

public static int w(String tag, String msg, Throwable tr) 

Source Link

Document

Send a #WARN log message and log the exception.

Usage

From source file:Main.java

public static void handle(Throwable e) {
    Log.w(LOG_TAG, "ex: " + e, e);
}

From source file:Main.java

@SuppressWarnings("unused")
public static void LOGW(final String tag, String message, Throwable cause) {
    Log.w(tag, message, cause);
}

From source file:Main.java

public static void warning(String paramString, Throwable paramThrowable) {
    Log.w("WLDroidGap", getMsgNotNull(paramString), paramThrowable);
}

From source file:Main.java

public final static void w(String tag, String msg, Throwable tr) {
    if (debug) {
        Log.w(tag, msg, tr);
    }
}

From source file:Main.java

public static void w(String tag, String msg, Throwable tr) {
    if (isDebugging) {
        Log.w(tag, msg, tr);
    }
}

From source file:Main.java

public static void recycleSilently(Bitmap bitmap) {
    if (bitmap != null) {
        try {/* w  w  w  .j  a  v  a  2  s  .co m*/
            bitmap.recycle();
        } catch (Throwable th) {
            Log.w(TAG, "unable recycle bitmap", th);
        }
    }
}

From source file:Main.java

public static void w(String msg, Throwable tr) {
    if (DEBUG) {
        Log.w(wTag, msg, tr);
    }
}

From source file:Main.java

public static void w(String tag, String message, Throwable throwable) {
    Log.w(tag, message, throwable);
}

From source file:Main.java

public static void LOGW(final String tag, String message, Throwable cause) {
    if (LOGGING_ENABLED) {
        Log.w(tag, message, cause);
    }//w ww. ja  v  a 2  s.com
}

From source file:Main.java

public static void w(String tag, String msg, Exception e) {
    if (isShow) {
        Log.w(tag, msg, e);
    }
}