Log

Class of android.util · Log.java · Android's reference

public final class Log

The app's log: "D/Tag: message" lines on the runtime's stderr. The driver's --log-level (snx.android.log_level: V, D, I, W, E or A) filters them, and sets the level isLoggable answers from, as Android's log.tag property does.

Fields

public static final int VERBOSE = 2 source
public static final int DEBUG = 3 source
public static final int INFO = 4 source
public static final int WARN = 5 source
public static final int ERROR = 6 source
public static final int ASSERT = 7 source

Methods

public static boolean isLoggable(String tag, int level) source
public static int println(int priority, String tag, String msg) source
public static int v(String tag, String msg) source
public static int v(String tag, String msg, Throwable tr) source
public static int d(String tag, String msg) source
public static int d(String tag, String msg, Throwable tr) source
public static int i(String tag, String msg) source
public static int i(String tag, String msg, Throwable tr) source
public static int w(String tag, String msg) source
public static int w(String tag, String msg, Throwable tr) source
public static int w(String tag, Throwable tr) source
public static int e(String tag, String msg) source
public static int e(String tag, String msg, Throwable tr) source
public static int wtf(String tag, String msg) source
public static int wtf(String tag, Throwable tr) source
public static int wtf(String tag, String msg, Throwable tr) source
public static String getStackTraceString(Throwable tr) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.