@Test public void testIsLoggable() throws Exception { ThrowErrorTree tree = new ThrowErrorTree(); assertTrue(tree.isLoggable(Log.ERROR)); assertFalse(tree.isLoggable(Log.WARN)); tree = new ThrowErrorTree(Log.INFO); assertTrue(tree.isLoggable(Log.INFO)); assertFalse(tree.isLoggable(Log.DEBUG)); }
@Override protected boolean isLoggable(int priority) { return priority >= mLogPriority; }
ThrowErrorTree extends Timber.Tree { @Override protected boolean isLoggable(int priority) { return priority >= mLogPriority; } }
ThrowErrorTree extends Timber.Tree { @Override protected boolean isLoggable(int priority) { return priority >= mLogPriority; } ThrowErrorTree();  ThrowErrorTree(int logPriority);  ThrowErrorTree(int logPriority, LogExclusionStrategy logExclusionStrategy); }
ThrowErrorTree extends Timber.Tree { @Override protected boolean isLoggable(int priority) { return priority >= mLogPriority; } ThrowErrorTree();  ThrowErrorTree(int logPriority);  ThrowErrorTree(int logPriority, LogExclusionStrategy logExclusionStrategy);  }
ThrowErrorTree extends Timber.Tree { @Override protected boolean isLoggable(int priority) { return priority >= mLogPriority; } ThrowErrorTree();  ThrowErrorTree(int logPriority);  ThrowErrorTree(int logPriority, LogExclusionStrategy logExclusionStrategy);   }