java.lang.Object | |
↳ | com.tencent.wcdb.support.LogPrinter |
Implementation of a android.util.Printer that sends its output to the system log.
Modified from Android source to print logs to redirection layer rather than logcat.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
LogPrinter(int priority, String tag)
Create a new Printer that sends to the log with the given priority
and tag.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | println(String x) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.util.Printer
|
Create a new Printer that sends to the log with the given priority and 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. |