Added in API level 1
LogPrinter
open class LogPrinter : Printer
kotlin.Any | |
↳ | android.util.LogPrinter |
Implementation of a android.util.Printer
that sends its output to the system log.
Summary
Public constructors | |
---|---|
LogPrinter(priority: Int, tag: String!) Create a new Printer that sends to the log with the given priority and tag. |
Public methods | |
---|---|
open Unit |
Public constructors
LogPrinter
Added in API level 1
LogPrinter(
priority: Int,
tag: String!)
Create a new Printer that sends to the log with the given priority and tag.
Parameters | |
---|---|
priority |
Int: The desired log priority: Log.VERBOSE , Log.DEBUG , Log.INFO , Log.WARN , or Log.ERROR . |
tag |
String!: A string tag to associate with each printed log statement. |