app/src/main/java/fr/free/nrw/commons/CommonsApplication.java
private void initTimber() {
        String logFileName = isBeta ? "CommonsBetaAppLogs" : "CommonsAppLogs";
        String logDirectory = LogUtils.getLogDirectory(isBeta);
        FileLoggingTree tree = new FileLoggingTree(
                Log.DEBUG,
                logFileName,
                logDirectory,
                1000,
                getFileLoggingThreadPool());

        Timber.plant(tree);
        Timber.plant(new Timber.DebugTree());
    }
/**
     * Plants debug and file logging tree.
     * Timber lets you plant your own logging trees.
     *
     */
Plants debug and file logging tree.
Timber lets you plant your own logging trees.
Plants debug and file logging tree . Timber lets you plant your own logging trees .
private void initTimber() {
        String logFileName = isBeta ? "CommonsBetaAppLogs" : "CommonsAppLogs";
        String logDirectory = LogUtils.getLogDirectory(isBeta);
        FileLoggingTree tree = new FileLoggingTree(
                Log.DEBUG,
                logFileName,
                logDirectory,
                1000,
                getFileLoggingThreadPool());
        Timber.plant(tree);
        Timber.plant(new Timber.DebugTree());
    }
private void initTimber ( ) { String logFileName = isBeta ? "CommonsBetaAppLogs" : "CommonsAppLogs" ; String logDirectory = LogUtils . getLogDirectory ( isBeta ) ; FileLoggingTree tree = new FileLoggingTree ( Log . DEBUG , logFileName , logDirectory , 1000 , getFileLoggingThreadPool ( ) ) ; Timber . plant ( tree ) ; Timber . plant ( new Timber . DebugTree ( ) ) ; }
Plants debug and file logging tree.
Plants debug and file logging tree .