Skip to content

Instantly share code, notes, and snippets.


Chris Renke ChrisRenke

View GitHub Profile
ChrisRenke /
Last active Apr 13, 2016
Thread-Aware Tree for Timber
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) {
You can’t perform that action at this time.