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