treessence / fr.bipi.tressence.ui / TextViewTree

TextViewTree

class TextViewTree : FormatterPriorityTree

An implementation of Timber.Tree which sends log into a text view

Constructors

<init>

TextViewTree(priority: Int, filter: Filter = NoFilter.INSTANCE, formatter: Formatter = NoTagFormatter.INSTANCE, append: Boolean = true)

An implementation of Timber.Tree which sends log into a text view

Inherited Properties

formatter

var formatter: Formatter

Functions

log

fun log(priority: Int, tag: String?, message: String, t: Throwable?): Unit

setTextView

fun setTextView(tv: TextView?): Unit

Inherited Functions

format

fun format(priority: Int, tag: String?, message: String): String

Use its formatter to format log

withFormatter

fun withFormatter(newFormatter: Formatter): FormatterPriorityTree