LogPrinterpublic class LogPrinter extends Object implements PrinterImplementation of a {@link android.util.Printer} that sends its output
to the system log. |
Fields Summary |
---|
private final int | mPriority | private final String | mTag | private final int | mBuffer |
Constructors Summary |
---|
public LogPrinter(int priority, String tag)Create a new Printer that sends to the log with the given priority
and tag.
mPriority = priority;
mTag = tag;
mBuffer = Log.LOG_ID_MAIN;
| public LogPrinter(int priority, String tag, int buffer)
mPriority = priority;
mTag = tag;
mBuffer = buffer;
|
Methods Summary |
---|
public void | println(java.lang.String x)
Log.println_native(mBuffer, mPriority, mTag, x);
|
|