-
public class PriorityTree extends Timber.DebugTree
Base class to filter logs by priority
-
-
Field Summary
Fields Modifier and Type Field Description private final PriorityFilterpriorityFilterprivate Filterfilter
-
Constructor Summary
Constructors Constructor Description PriorityTree(Integer priority, Filter filter)PriorityTree(Integer priority)
-
Method Summary
Modifier and Type Method Description final PriorityFiltergetPriorityFilter()final FiltergetFilter()final UnitsetFilter(Filter filter)final PriorityTreewithFilter(Filter newFilter)BooleanisLoggable(String tag, Integer priority)Return whether a message at priorityortagshould be logged.-
-
Method Detail
-
getPriorityFilter
final PriorityFilter getPriorityFilter()
-
withFilter
@Deprecated(message = Method for retro compatibility)@Synchronized() final PriorityTree withFilter(Filter newFilter)
-
isLoggable
Boolean isLoggable(String tag, Integer priority)
Return whether a message at
priorityortagshould be logged.
-
-
-
-