-
public class ThrowErrorTree extends 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.
-
-
Field Summary
Fields Modifier and Type Field Description private final PriorityFilterpriorityFilterprivate Filterfilter
-
Constructor Summary
Constructors Constructor Description ThrowErrorTree(Integer priority, Filter filter)ThrowErrorTree(Integer priority)ThrowErrorTree()
-
Method Summary
Modifier and Type Method Description final PriorityFiltergetPriorityFilter()final FiltergetFilter()final UnitsetFilter(Filter filter)-
Methods inherited from class com.revesoft.logger.Timber.DebugTree
d, d, d, e, e, e, i, i, i, log, log, log, v, v, v, w, w, w, wtf, wtf, wtf -
Methods inherited from class com.revesoft.logger.treessence.console.ThrowErrorTree
isLoggable, withFilter -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getPriorityFilter
final PriorityFilter getPriorityFilter()
-
-
-
-