Example usage for android.util Log e

List of usage examples for android.util Log e

Introduction

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

Prototype

public static int e(String tag, String msg) 

Source Link

Document

Send an #ERROR log message.

Usage

From source file:Main.java

public final static void logErrorMessage(String tag, String message) {
    // if (BuildConfig.DEBUG) {
    Log.e(tag, message);
    // }//from w  ww . j  a v  a  2  s . co  m
}

From source file:Main.java

/**
 * @param tag
 * @param loginfo
 */
public static void e(String tag, String loginfo) {
    Log.e(tag, loginfo);

}

From source file:Main.java

protected static void log(String message) {
    if (DEBUG)
        Log.e("app2sd", message);
}

From source file:Main.java

public static int getTimeSecond(int value) {
    int now = value - (int) (System.currentTimeMillis() / 60000);
    Log.e("rrobbie", "time : " + value + " / " + System.currentTimeMillis());
    int result = (now * 1000);
    return result > 0 ? result : 0;
}

From source file:Main.java

public static void e(Object msg) {
    if (getIsDebug()) {
        Log.e("========error========", msg + "");
    }/*from w w w.  j  av a  2  s.  c  om*/

}

From source file:Main.java

/** Handles the exception is a consistent way. */
public static void handle(String tag, Throwable e, String msg) {
    Log.e(tag, msg + ":" + e.getMessage());
}

From source file:Main.java

public static void LogError(String TAG, String LOGMETHOD, String LOGBODY) {
    Log.e(TAG, LOGMETHOD + " Error ! " + LOGBODY);
}

From source file:Main.java

public static void logEx(String tag, String msg, Object who, Exception ex) {
    Log.e(tag, msg + " who " + who + " ptr " + getHashCode(who) + " ex " + ex);
}

From source file:Main.java

public static void LogWarning(String TAG, String LOGMETHOD, String LOGBODY) {
    Log.e(TAG, LOGMETHOD + " Warning ! " + LOGBODY);
}

From source file:Main.java

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