Let's assume I would like to have an app with different loggers for each part of my logic, i.e, a ConsoleLogger for common messages and a HttpLogger for just remote communication.
I have seen that Timber allows you to create different loggers extending from Timber.Tree. Then, one could decide which logger to use relying on the the Android variant (DEBUG vs RELEASE) by modifying the onCreate method of your own Application's child class. In addition, it is possible to configure Timber to use one logger or the other by playing with the logging level (d, i, w, etc.).
Now, my question is, would it be possible to tell Timber on runtime which Tree to use? If it helps, I am trying to do something similar to how logback-android does with slf4j:
org.slf4j.Logger log = LoggerFactory.getLogger(MainActivity.class);