This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import timber.log.Timber; | |
/** Tree that logs the current thread pre-pended. Useful for multi-thread Rx'y things. */ | |
public class ThreadAwareDebugTree extends Timber.DebugTree { | |
@Override protected boolean isLoggable(int priority) { | |
return super.isLoggable(priority); | |
} | |
@Override protected void log(int priority, String tag, String message, Throwable t) { |