com.android.volley
Class VolleyLog
java.lang.Object
com.android.volley.VolleyLog
public class VolleyLog
- extends Object
Logging helper class.
Nested Class Summary |
(package private) static class |
VolleyLog.MarkerLog
A simple event log with records containing a name, thread ID, and timestamp. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAG
public static String TAG
DEBUG
public static boolean DEBUG
VolleyLog
public VolleyLog()
setTag
public static void setTag(String tag)
- Customize the log tag for your application, so that other apps
using Volley don't mix their logs with yours.
Enable the log property for your tag before starting your app:
adb shell setprop log.tag.<tag>
v
public static void v(String format,
Object... args)
d
public static void d(String format,
Object... args)
e
public static void e(String format,
Object... args)
e
public static void e(Throwable tr,
String format,
Object... args)
wtf
public static void wtf(String format,
Object... args)
wtf
public static void wtf(Throwable tr,
String format,
Object... args)