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 static void error(String paramString) {
    Log.e("WLDroidGap", getMsgNotNull(paramString));
}

From source file:Main.java

public static String replaceUrlcode(String str) {
    Log.e("log", "replaceUrlcode");
    if (!str.contains(" "))
        return str;

    //StringBuffer sb = new StringBuffer(str);
    //int position = str.indexOf("\\+");
    //str.split("%20", position);

    str = str.replaceAll(" ", "%20");
    Log.e("log", "replaceUrlcode:" + str);
    return replaceUrlcode(str);
}

From source file:Main.java

/** show logcat */
public static void showLogCat(String log) {

    Log.e("GMD", log);
}

From source file:Main.java

public static boolean isSupportHeif() {
    Log.e("ljn",
            "Build.MANUFACTURER:" + Build.MANUFACTURER + ", Build.VERSION.SDK_INT:" + Build.VERSION.SDK_INT);
    return "HUAWEI".equals(Build.MANUFACTURER) && Build.VERSION.SDK_INT > 27;
}

From source file:Main.java

public static void logE(String str) {
    //if(BuildConfig.DEBUG)
    Log.e("ATN::", str + "");
}

From source file:Main.java

public static void WriteError(String text) {
    Log.e(LogTag, text);
}

From source file:Main.java

public static void error(String msg) {
    Log.e(TAG, msg);
}

From source file:Main.java

public static void stop(String packageName) {
    Log.e("App", "stop " + packageName);
}

From source file:Main.java

public static void logException(Exception e) {
    Log.e("ZLOGUTILS", "wp error = " + ((e == null) ? null : e.getMessage()));
}

From source file:Main.java

public static void start(String packageName) {
    Log.e("App", "start " + packageName);
}