Constructor and Description |
---|
LogPrinter(int priority,
String tag)
Create a new Printer that sends to the log with the given priority
and tag.
|
LogPrinter(int priority,
String tag,
int buffer) |
public LogPrinter(int priority, String tag)
priority
- The desired log priority:
Log.VERBOSE
,
Log.DEBUG
,
Log.INFO
,
Log.WARN
, or
Log.ERROR
.tag
- A string tag to associate with each printed log statement.public LogPrinter(int priority, String tag, int buffer)