treessence / fr.bipi.tressence.console / SystemLogTree

SystemLogTree

class SystemLogTree : FormatterPriorityTree

An implementation of Timber.Tree which log using System.out print() method.

Constructors

<init>

SystemLogTree(priority: Int = Log.VERBOSE, filter: Filter = NoFilter.INSTANCE, formatter: Formatter = LogcatFormatter.INSTANCE)

An implementation of Timber.Tree which log using System.out print() method.

Inherited Properties

formatter

var formatter: Formatter

Functions

log

fun log(priority: Int, tag: String?, message: String, t: Throwable?): 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