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 log(String tag, String msg) {
    Log.e(tag, msg);
}

From source file:Main.java

public static void log(@NonNull String msg) {
    Log.e("TEST", msg);
}

From source file:Main.java

public static void loge(String message) {
    Log.e(TAG, message);
}

From source file:Main.java

@SuppressWarnings("unused")
public static void LOGE(final String tag, String message) {
    Log.e(tag, message);
}

From source file:Main.java

public static void error(String message) {
    Log.e(DEBUG_TAG, message);
}

From source file:Main.java

public static void onError(String tag, Throwable e) {
    Log.e(tag, e.getClass().getSimpleName() + ": " + e.getLocalizedMessage());
}

From source file:Main.java

static public Bitmap scaleToFitHeight(Bitmap b, int height) {
    Log.e("Hieght", height + "");
    float factor = height / (float) b.getHeight();

    return Bitmap.createScaledBitmap(b, (int) (b.getWidth() * factor), height, false);

}

From source file:Main.java

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

From source file:Main.java

public static int SRLogError(String log) {
    return (DEBUG ? Log.e("SmartRecorder", log) : 1);
}

From source file:Main.java

public static void debugE(String strValue) {
    boolean b_debug = true;
    if (b_debug) {
        Log.e("HDD", " " + strValue);
    }// ww w .j a v  a 2 s  .  c  o m
}