A Bugfender tree can be planted on Timber, here's a short class you can add to your code:

public class BugfenderTree extends Timber.Tree {

   @Override protected void log(int priority, String tag, String message, Throwable t) {
      switch (priority) {
        case Log.VERBOSE:
          Bugfender.d(tag, message);
          break;
        case Log.DEBUG:
          Bugfender.d(tag, message);
          break;
        case Log.INFO:
          Bugfender.d(tag, message);
          break;
        case Log.WARN:
          Bugfender.w(tag, message);
          break;
        case Log.ERROR:
          Bugfender.e(tag, message);
          break;
        case Log.ASSERT:
          Bugfender.d(tag, message);
          break;
      }
   }
}

You plant it with:

Timber.plant(new BugfenderTree());

Thanks to @aldoborrero for his contribution!

Did this answer your question?