public class Log extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Log.Tag
This class restricts the length of the log tag to be less than the
framework limit and also prepends the common tag prefix defined by
CAMERA_LOGTAG_PREFIX . |
Modifier and Type | Field and Description |
---|---|
static String |
CAMERA_LOGTAG_PREFIX
All Camera logging using this class will use this tag prefix.
|
Constructor and Description |
---|
Log() |
Modifier and Type | Method and Description |
---|---|
static void |
d(Log.Tag tag,
String msg) |
static void |
d(Log.Tag tag,
String msg,
Throwable tr) |
static void |
e(Log.Tag tag,
String msg) |
static void |
e(Log.Tag tag,
String msg,
Throwable tr) |
static void |
i(Log.Tag tag,
String msg) |
static void |
i(Log.Tag tag,
String msg,
Throwable tr) |
static void |
v(Log.Tag tag,
String msg) |
static void |
v(Log.Tag tag,
String msg,
Throwable tr) |
static void |
w(Log.Tag tag,
String msg) |
static void |
w(Log.Tag tag,
String msg,
Throwable tr) |
public static final String CAMERA_LOGTAG_PREFIX
Configuration
, you can set properties:
adb shell setprop log.tag.CAM2PORT_ VERBOSE
adb shell setprop log.tag.CAM2PORT_ ""