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