class ThrowErrorTree : PriorityTree
An implementation of Timber.Tree which throws java.lang.Error when priority of log is exceeded the limit. Useful for development or test environment.
priority - Minimum log priority to throw error. Expects one of constants defined in Log.
ThrowErrorTree(priority: Int = Log.ERROR, filter: Filter = NoFilter.INSTANCE)
An implementation of Timber.Tree which throws java.lang.Error when priority of log is exceeded the limit. Useful for development or test environment. |
var filter: Filter |
|
val priorityFilter: PriorityFilter |
fun log(priority: Int, tag: String?, message: String, t: Throwable?): Unit |
open fun isLoggable(priority: Int): Booleanopen fun isLoggable(tag: String?, priority: Int): Boolean |
|
fun skipLog(priority: Int, tag: String?, message: String, t: Throwable?): Boolean
Use the additional filter to determine if this log needs to be skipped |
|
fun |